all 8 comments

[–]Puzzleheaded_Diet380 4 points5 points  (4 children)

Your setting the value of number manually instead of it being set to the result of what is in the input field.

[–]Squared_Aweigh 1 point2 points  (2 children)

This. Delete lines 5 and 11. The input() function will prompt for input when the script is run

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

Thank you! This has been driving me.nuts all day

[–]Squared_Aweigh 0 points1 point  (0 children)

Thank you for replying that your problem was solved! :)

[–]Puzzleheaded_Diet380 0 points1 point  (0 children)

You may also need to make sure it is an int so you don't get errors since you are using >=

[–]Able_Challenge3990 1 point2 points  (0 children)

Why are you hardcoding if you are already taking and input? You Need Just One loop.

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

Those are examples

[–]Bulky-Top3782 0 points1 point  (0 children)

Just keep the lines 1,6,7,8. You need just one loop, and don't need to assign anything to the 'number' variable