Python Fundamentals Quiz 12

Share with others

Welcome to your Python Fundamentals Quiz 12

Name
Email
School Name
Q111. In Python, a _____________ is a unit of code that the Python interpreter can execute
Q112. In Python, we have the ___________ function for taking the user input
Q113. The user may enter a number or a string but the input() function treats them as ___________________
Q114. Write the output of the following :
>>> age = input("Enter your age: ")
>>> type(age)
Q115. Write the output of the following :
>>> age = input("Enter your age: ")
Enter your age: 3
>>> age * 3
Q116. What type of error is returned by following statement?
>>> age = input("Enter your age: ")
Enter your age: 3
>>> age + 3
Q117. Python uses the ______________ function to output data to standard output device.
Q118. print("I" + "am" + "in" + "school") display _____________
Q119. print("I" , "am" , "in" , "school") display _____________
Q120. Which of the following is parameter of print( ) function?


Share with others

Leave a Reply