Computer Science, asked by sayanthsayu5967, 21 days ago

When we divide 10/3 in python, why does it show 3.3333333333333335?

Answers

Answered by YUKANISHANTH
3

Explanation:

it shows like thus because when we divide 10/3 we get the answer 3.33333333333333(infinite)

In math it is called as 3.33 recurring. In calculaters we get another number because it is programmed to show a definite number

mark me as brainliest

Answered by rochanaratakonda
4

when u see the % symbol, you may think percent. But in python, as well as most other programming languages , it means something different.

The % symbol in python is called the modulo operator . it returns the remainder of divising the left hand operand by right hand operand. its used to get the remainder of a division problem.

Hope it helps...

Attachments:
Similar questions