Predict the output of the below code?
print(10+0.3*4)
a. 11.0
b. 40.3
c. 11.2
d. 22.0
Predict the output of the below code? print("ab"*5+"-")
ab-ab-ab-ab-ab-
ababababab-
ab-----
ababababab
Predict the output of the below code? float(int(10+20/3))
16.7
16.66
16.6666
16.0
Predict the output of the below code?
10<50 and 50>10 or 10.56 > 0.34
True
False
Predict the output of the below code?
if(1):
print("YES")
else:
print("NO")
Yes
No
Predict the output of the below code?
S=”\tpython program\n”
print(s.strip())
python program
\tpython program
python program\n
pythonprogram
Predict the output of the below code?
if(len('')):
print("Empty string")
else:
print("NON-EMPTY STRING")
Empty String
NON-EMPTY STRING
Predict the output of the below code?
print(len(str(1.0)))
3
2
1
TypeError
Predict the output of the below code?
i=0
while(i<5):
if(i==3):
break
else:
print(i)
i+=1
0 1 2 3
0 1 2
0 1 2 4 5
1 2 4 5
Predict the output of the below code?
for v in "abc","def","ghijk":
print("Hello")
Hello statement will print only one time
Hello statement will print two times
Hello statement will print three times
It throws Error
0
{"name":"Predict the output of the below code? print(10+0.3*4)", "url":"https://www.quiz-maker.com/Q5DOMZU72","txt":"Predict the output of the below code? print(10+0.3*4), Predict the output of the below code? print(\"ab\"*5+\"-\"), Predict the output of the below code? float(int(10+20\/3))","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker