Question #53013

How can I make an INPUT command work if the IF command comes before the input?

Expert's answer

Workingexample (Python 3.4).
if True > False:
    print("True > False")
else:
    print("True <= False")
   
inpt = input()
 
print(inpt)
 
LATEST TUTORIALS
APPROVED BY CLIENTS