I do not understand 1-12. Please Help


#1

spam = 2 % 9

print spam

I get 2 instead of 1
what am I doing wrong?


#2

Your not doing anything wrong i copy pasted your code and i got 2:

spam = 2 % 9

print spam

What browser do you use?


#3

I want to get 1 since after dividing 9 and 2 you get a remainder of 1.


#4

2%9 is 2....


#5

OH.. I figured out what I did wrong. I wanted 9%2, not 2%9. Thanks so much for helping me with my stupid mistakes.


#6

Hey, you learn by stupid mistakes! :joy: :laughing: