Are you ready?
1 questions to solve.
- This quiz goes to full-screen once you press the Start button, or any Next button after exiting the quiz window.
- At the end of the quiz, you are able to review all the questions that you answered wrong and see their explanations.
print()function to output stuff in Python. This goes with choice (A). Read more details at Python Basics — printing stuff.
'Hello'called with respect to the function
)) in a function call is known as arguments of the function. In the code above,
'Hello'is an argument of
print(). This goes with choice (B). Read more details at Python Basics — printing stuff.
/). Hence, the correct choice is (B).
5 % 3
a % breturns the remainder of the operation
a / b. The remainder of
5 / 3is
2. Hence, the correct choice is (C).
x = 10
xhere is called a variable. It can hold any given value, and then subsequently be used in any expression instead of the value itself. For more details on variable, please refer to Python Basics — variables.
input()function is used to get input from the user. For more details on
input(), please refer to Python Basics — getting input.