QuizAnswer
Home
Contact
Say hello -
quizanswers.mail@gmail.com
1. Which of the following is an invalid statement?
• abc = 1,000,000
• a b c = 1000 2000 3000
• a,b,c = 1000, 2000, 3000
• a_b_c = 1,000,000
Answer.
a b c = 1000 2000 3000
2. The expression Int(x) implies that the variable x is converted to integer.
Answer.
True
3. Which of the following cannot be a variable?
• __init__
• in
• it
• on
Answer.
in
4. What data type is the object below? L = [1, 23, 'hello', 1]
Answer.
list
5. Which has the highest precedence in the expression?
Answer.
Parentheses
6. In order to store values in terms of key and value we use what core data type.
Answer.
dictionary
7. What is the result of round(0.5) - round(-0.5)?
Answer.
Value depends on Python version
8. What does 3 ^ 4 evaluate to?
Answer.
7
9. What is the return value of trunc()?
Answer.
int
Prev
Next