Python Forum
Thread Rating:
  • 2 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remainder Operation
#2
Small hint

>>> 23%6
5
>>> 7%3
1
>>> 
Do you see the pattern between result of modulo operator (that's the remainder operator) and [part of] the desired output?
Reply


Messages In This Thread
Remainder Operation - by Babbare - May-14-2017, 04:19 PM
RE: Remainder Operation - by buran - May-14-2017, 04:49 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020