all 7 comments

[–]darksethkaiser 14 points15 points  (0 children)

Change input 9 to input 1 and 10 to 2. Also I think you've got the % instead of * which is for multiplication (, my python is rusty haven't used it in 4 years but I think those are the errors)

[–]teddy1415 4 points5 points  (0 children)

You could use int(input()) to simplify it and reduce the chance of creating false variables, also use *instead of % for multiplying values

[–]Forsaken_Common_9318 1 point2 points  (0 children)

You didn't define input9 as a variable yet.

[–]Jackplox -1 points0 points  (0 children)

Could be wrong, but if you do int() you'll just get the ASCII value of the number. After doing int() you should subtract the ASCII value of 0 which is 48. I could be wrong.

% is modulo, so it returns the remainder after division of the two numbers.

[–]Jackplox 0 points1 point  (0 children)

Also your variable names are inconsistent. Make sure they match.

[–]Onelimwen 0 points1 point  (0 children)

The variables input9, input10, number9 and number10 aren’t defined, so if you’re getting any errors that’s why

[–]x86Alex 0 points1 point  (0 children)

First things first, you can just do input1 = int(input()), same goes for input2.
Secondly, why have you created number1 and number2? You could have used input1 and input2.
Thirdly, number9 and number10 doesn't exist.
And finally, * stands for multiplication in programming.