C-16-Q090mediumsingle_mcq
Which operator is used for division (quotient) in Python?
Which operator is used for division (quotient) in Python?
- a
÷ - b
\ - c
/ - d
%
ব্যাখ্যা
In Python the forward slash / performs division and returns the quotient (as a float). The backslash \ is an escape character, % gives the remainder, and ÷ is not a valid Python operator.