You are viewing a single comment's thread. Return to all comments →
Its not because of static values .Its because the Python work on REPL i.e,
R - Read
E - Execute
P - Print
L - Loop
So here when a = raw_input(3) is given it Reads the command, Execute it i.e takes a as input 3, Prints it i.e why it prints 3 and then 2 for b = raw_input(2) and then Loop back again i.e it waits to read next instruction.
Hence your output is like