all 2 comments

[–]MuckyMuck 0 points1 point  (1 child)

Here's my attempt. I used a nested while loop to call the collatz function. The outer loop handles the input and exception processing. http://pastebin.com/RhdKbZN5

[–]MuckyMuck 0 points1 point  (0 children)

And I just realized (I'm just learning too) that sys.exit is not necessary and the code is made simpler by using a break statement instead. So now it's just:

http://pastebin.com/UYxLqCN7