You are viewing a single comment's thread. Return to all comments →
what do you mean by remove static values, Im having the same issue
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
moreover Python considers your inputs as strings and they're concatenated when you don't convert them explicitly. That's why you get such errors.