New course! Every coder should learn Generative AI!
Try a free lesson0
Separating the decimals
How, when you divide, you get the code to not insert the .#
2 Answers
+ 2
whole division operator: //
turn float to int: int(number)
so:
7 // 2 == int(7 / 2) == 3
+ 1
Ok thanks!