Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
chr in Python
#7
(May-14-2019, 01:40 PM)perfringo Wrote:
(May-14-2019, 01:34 PM)DarkCraftPlayz Wrote: Multiples of 5 are causing problems. I have tried fllor division, remainders.. but nome of it works.

How 'none of it works'? 7 divided by 5 gives 1 and 2 as reminder. I can spot that this is exactly what is needed (hint: first is zero-based index second is finger-based index)

Sorry but I still dont understand. When I divide 1-4 with 5, it gives 0 as quotient but when I divide 5 with 5 it gives 1, which goes in the next group. Basically, I am having problem with all the multiples of 5. I need their output to be in the previous group hut they are going in the next group.
Reply


Messages In This Thread
chr in Python - by DarkCraftPlayz - May-14-2019, 01:01 PM
RE: chr in Python - by perfringo - May-14-2019, 01:18 PM
RE: chr in Python - by DarkCraftPlayz - May-14-2019, 01:34 PM
RE: chr in Python - by perfringo - May-14-2019, 01:40 PM
RE: chr in Python - by DarkCraftPlayz - May-14-2019, 04:01 PM
RE: chr in Python - by SheeppOSU - May-14-2019, 01:20 PM
RE: chr in Python - by michalmonday - May-14-2019, 01:40 PM
RE: chr in Python - by perfringo - May-14-2019, 08:35 PM
RE: chr in Python - by DarkCraftPlayz - May-15-2019, 12:20 AM

Forum Jump:

User Panel Messages

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