KnowledgeBoat Logo

Computer Science

The % (modulus) operator cannot be used with the float data type.

Python Data Handling

1 Like

Answer

False

Reason — The % (modulus) operator can be used with float data types in Python. It calculates the remainder of a division operation, just like with integers.

Answered By

2 Likes


Related Questions