What does the '//' operator do when used with negative numbers?
A. Returns the positive quotient
B. Returns the negative quotient
C. Rounds down to the nearest integer
D. Rounds up to the nearest integer
Answer: Option C
A. Returns the positive quotient
B. Returns the negative quotient
C. Rounds down to the nearest integer
D. Rounds up to the nearest integer
Answer: Option C
Which of the following is a valid variable name in Python?
A. my-variable
B. 123variable
C. _my_variable
D. $variable
What is the maximum possible length of an identifier?
A. 31 characters
B. 63 characters
C. 79 characters
D. none of the mentioned
Join The Discussion