Mar-05-2019, 09:51 PM
z = input
means z
now refers to the same thing as input
, which is a built-in function.If you want to get actual input from the user, you'll have to call the function, i.e.
z = input()
.If you want to compare that input to 0 and 1, you'll also have to convert it toan int.