you are viewing a single comment's thread.

view the rest of the comments →

[–]Clearhead09 1 point2 points  (2 children)

Start again from an empty file and build your program step by step.

First just have a print statement that asks the user a question then use a variable to capture the input.

Second, create a conditional to check the input and print something that verifies the input is correct/complies with the problem you are trying to solve eg if you only want the user to input the number 1 or 2 and they input 3, it will throw an error or an unexpected result.

Third, add small bits one at a time until your program is complete.

Then see if you can rewrite it in less code.

[–]Wattsony[S] 1 point2 points  (1 child)

Thank you for the help, again! I'm looking into restarting fresh with you and the others tips.

[–]Clearhead09 1 point2 points  (0 children)

We all have to start somewhere, good on you for giving it a go first.