Python Forum
Accumulator/looping problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accumulator/looping problem
#6
You're still trying to do it in one. You need to do it in two. Write two loops, one that goes through the indexes of the string, and an inner one that goes through the possible lengths from that index.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Accumulator/looping problem - by student8 - Oct-15-2017, 03:28 AM
RE: Accumulator/looping problem - by ichabod801 - Oct-15-2017, 06:24 PM
RE: Accumulator/looping problem - by student8 - Oct-15-2017, 09:39 PM
RE: Accumulator/looping problem - by ichabod801 - Oct-15-2017, 10:20 PM
RE: Accumulator/looping problem - by student8 - Oct-16-2017, 12:23 AM
RE: Accumulator/looping problem - by ichabod801 - Oct-16-2017, 01:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  accumulator pattern python_learner 8 7,577 Mar-10-2017, 11:11 AM
Last Post: zivoni

Forum Jump:

User Panel Messages

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