Home / Programming MCQs / Python MCQs / Question
T
Q. What is the output of the following code?
x = True y = False z = False if x or y and z: print "TANMAY" else: print "tanmay"
(True or False) evaluates to True.
You must be Logged in to update hint/solution
What is the output of the following code?
What will be the output of the following Python code?
What will be the output of the following code snippet?
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
Which of the following functions converts a “string” to “float” in Python?
Python is a ___object-oriented programming language.
What is the correct syntax for reading from a text file stored in “c:\file.txt”?
Discusssion
Login to discuss.