What will be the output of the following Python code?
print(max("what are you"))
error
u
t
y
example = "helle" print(example.find("e"))
Error
-1
1
0
example = "NITIN" print(example.rfind("N"))
4
3
print("abc DEF".capitalize())
abc def
ABC DEF
Abc def
Abc Def
print("xyyzxyzxzxyy".count('yy', 1))
2
none of the mentioned
print("xyyzxyzxzxyy".count('xyy', 2, 11))
print("xyyzxyzxzxyy".count('xyy', -10, -1))
print("xyyzxyzxzxyy".endswith("xyy"))
True
print("xyyzxyzxzxyy".endswith("xyy", 0, 2))
False
print("abcdef".find("cd") == "cd" in "abcdef")
None of the mentioned
print("abcdef".find("cd"))
print('ab,12'.isalnum())
None
print('ab'.isalpha())
print('a B'.isalpha())
What will be the output of the following Python code snippet?
print(''.isdigit())
print('abc'.islower())
print('a@ 1,'.islower())
print('11'.isnumeric())
print('1.1'.isnumeric())
print('HelloWorld'.istitle())