Python Forum
Need help with loops!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with loops!
#5
I'll keep that in mind in the future.

Back to it, I've been doing my reading and was thinking this might be easier?

for x in range(sValue, eValue, iValue):
    print(x)
including the same inputs as before, above. Running it is fine but i want it to list the last digit as well. do i do this with len or something? idk i'll keep looking into it.
Reply


Messages In This Thread
Need help with loops! - by Funnypants - Dec-03-2018, 04:53 PM
RE: Need help with loops! - by nilamo - Dec-03-2018, 05:35 PM
RE: Need help with loops! - by Funnypants - Dec-03-2018, 05:50 PM
RE: Need help with loops! - by nilamo - Dec-03-2018, 06:07 PM
RE: Need help with loops! - by Funnypants - Dec-03-2018, 07:41 PM
RE: Need help with loops! - by dossantanos - Dec-05-2018, 04:48 PM

Forum Jump:

User Panel Messages

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