Which of the following is valid arithmetic operator in Python:
(i) // (ii) ? (iii) < (iv) and
Answers
Answered by
7
Answer:
(i) //
Explanation:
it is the floor division operator
example
print( 7//3 )
output
2
Answered by
15
// is a valid arithmetic operator in Python.
Option (i)
Explanation:
- The operator // is used for valid arithmetic operation in the Python. This symbol indicates floor division. This function only divides the operands in which the outcome is the quotient.
- In this function, the digits after every decimal point will be removed in the state a rounded value. Moreover, the outcome after the division will be rounded away from zero when the operand indicates a value is negative.
Similar questions