if I have a numbers,for ex 87.
How can I make it : 87= 8 and 7
Asked
Active
Viewed 144 times
1 Answers
-1
a, b = divmod(87, 10)
divmod divides 87 by 10, returning both quotient and remainder.
Does that solve your issue?

Prune
- 76,765
- 14
- 60
- 81