Python Forum
I need help to understand a homework
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help to understand a homework
#3
(Feb-16-2021, 10:36 AM)buran Wrote: does this presentation help
Output:
1 1 --> 11 11 --> 21 2-1 --> 12-11 1-2-11 --> 11-12-21 111-22-1 --> 31-22-11 3-1-22-11 --> 13-11-22-21 ... and so on
e.g. the last number in my example 13112221 describes the previous 312211, which consists of one 3, one 1, two 2, two 1, i.e. 13112221

Yes it is clear now, thank you a lot :D
Reply


Messages In This Thread
RE: I need help to understand a homework - by buran - Feb-16-2021, 10:36 AM
RE: I need help to understand a homework - by SantiagoPB - Feb-18-2021, 09:12 AM

Forum Jump:

User Panel Messages

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