Python Quiz: What is the Output?
Comment your answer 💯
x = 2
if x == 2:
if x > 5:
print("Tom ")
else:
print("Jerry ")
else:
print("Oggy ")
11%Tom
68%Jerry
8%Both Tom and Jerry
13%Oggy
523 votes • 10 hoursPython Quiz: What will be the output? 👀
🧠 Read the string method carefully!
👇 Comment your answer: A / B / C / D
Python Quiz: What is the Output?
x = "Python"
print(x[0] * 3)
57%PPP
2%Pyth
19%PythonPythonPython
23%Error
1,956 votes • Final results















