Python Forum
Collatz in Python...pls help
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collatz in Python...pls help
#3
(Dec-31-2017, 06:26 AM)Larz60+ Wrote: the first module runs and prints out:
a list like:
Output:
enter num: 5 1 ] 8 2 ] 4 3 ] 2 4 ] 1 5 ] 2
What did you expect?


   
My screenshot looks nothing like your result..I just ran the code (f5) for int 5.
Now I'm totally confused!!!
(also in the 2nd module my i counter isn't counting!!! WTF)
Reply


Messages In This Thread
Collatz in Python...pls help - by mepyyeti - Dec-31-2017, 04:43 AM
RE: Collatz in Python...pls help - by Larz60+ - Dec-31-2017, 06:26 AM
RE: Collatz in Python...pls help - by mepyyeti - Dec-31-2017, 07:26 AM
RE: Collatz in Python...pls help - by squenson - Dec-31-2017, 07:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,597 Nov-23-2020, 05:15 PM
Last Post: cananb
  Collatz Conjecture Formatting TreasureDragon 2 2,431 Feb-11-2019, 10:39 PM
Last Post: TreasureDragon

Forum Jump:

User Panel Messages

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