What will be the output of the following Python code?
Anonymous Quiz
16%
None None
29%
22 None
33%
None 22
22%
Error is generated
❤2🔥1
What will be the output of the following Python code
Anonymous Quiz
40%
224
26%
Error
24%
12
10%
None
👍3
What will be the output of the following Python code?
>>>max("what are you")
>>>max("what are you")
Anonymous Quiz
57%
Error
21%
u
5%
t
18%
y
❤7👍2
👍5❤2
👍3
❤2
To concatenate two strings to a third what statements are applicable?
Anonymous Quiz
14%
s3 = s1 . s2
51%
s3 = s1.add(s2)
20%
s3 = s1.__add__(s2)
15%
s3 = s1 * s2
Which of the following statement prints hello\example\test.txt?
Anonymous Quiz
49%
print(“hello\example\test.txt”)
35%
print(“hello\\example\\test.txt”)
9%
print(“hello\”example\”test.txt”)
8%
print(“hello”\example”\test.txt”)
👍7😁1
Suppose s is “\t\tWorld\n”, what is s.strip()?
Anonymous Quiz
13%
\t\tWorld\n
18%
\t\tWorld\n
10%
\t\tWORLD\n
59%
World
👍7
The format function, when applied on a string returns ___________
Anonymous Quiz
24%
Error
10%
int
13%
bool
54%
str
❤3👏3👎1
What will be the output of the “hello” +1+2+3?
Anonymous Quiz
44%
hello123
18%
hello6
5%
hello
33%
Error
❤4👍1
❤1
Say s=”hello” what will be the return value of type(s)?
Anonymous Quiz
6%
int
5%
bool
53%
str
35%
String
❤4👍2