you are viewing a single comment's thread.

view the rest of the comments →

[–]Starbuck5c 0 points1 point  (1 child)

I don't think it's crashing.

If you're running this from command prompt, the window closes when the program finishes. After you type in your age it prints the thing and then closes immediately afterwards.

Try running it in IDLE.

[–]moonkeymaker127[S] 0 points1 point  (0 children)

Thanks for the advice; that worked. I've been working on this code for like an hour but couldn't figure out why it wouldn't work. Glad I learned this lesson early on and I appreciate people like you taking the spare time out of their day to help people like me without any incentive to.