Computer Science, asked by emmanuel633, 3 months ago

why is 1%10 in python is 1

Answers

Answered by shabanamdevi80
0

Answer:

It is evaluating it as 0 because it is treating it as an integer. The integer division 1/10 returns an integer 0 . Converting integer 0 to float, just returns 0.0

Answered by Vanisher
0

Explanation:

Didn't get your question.

Send the complete question

Similar questions