Arithmetic Operators

  • + 3 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?