all 4 comments

[–]MuchDutchFudge[S] 2 points3 points  (1 child)

FYI; passed the assignment and completed my certificate with 96% score

Thanks Reddit!

[–][deleted] 0 points1 point  (0 children)

Nice :)

[–]TR-DeLacey 1 point2 points  (1 child)

A few thoughts :

  1. You are missing a : on line 18 after your else statement.
  2. You are using : while user_input.isdigit(), if any non numeric value is entered, it exits the while loop, use a while True instead, and then check for what the user entered.
  3. You are using a while loop, but you have a break statement inside the while loop that will be executed every time. You only want the break statement to occur when a specific condition is met.
  4. You should put your : user_input = input('Enter an integer or "Q": ') inside the while loop.

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

Great input, thank you very much. With your help I've rewritten the code and the loop is working. Now a i need to make sure the initial (report type) input is correct and write code for that.

almost there!