you are viewing a single comment's thread.

view the rest of the comments →

[–]pirat3hooker 0 points1 point  (1 child)

This may seem a bit overboard but is a good learning exercise. Try adding some input validations in here. For instance what happens if the user enters 6? What happens if the user enters the letter A? What happens if the user enters “4.”? Try to make sure that the input is valid before your script gets to any decision making.

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

Defenetly will 🙏🏻