You are viewing a single comment's thread. Return to all comments →
I experienced the same output. So I decided to see what it thought 'a' was:
a=int(raw_input(3)) b=int(raw_input(2)) print(a) print(a+b) print(a-b) print(a*b) print(a)
And got: 323 5 1 6 3
So, why does the first iteration of 'a' believe it is 323?
Arithmetic Operators
You are viewing a single comment's thread. Return to all comments →
I experienced the same output. So I decided to see what it thought 'a' was:
a=int(raw_input(3)) b=int(raw_input(2)) print(a) print(a+b) print(a-b) print(a*b) print(a)
And got: 323 5 1 6 3
So, why does the first iteration of 'a' believe it is 323?