Answer to Question #53013 in Python for Prabh

Question #53013
How can I make an INPUT command work if the IF command comes before the input?
1
Expert's answer
2015-06-10T00:00:43-0400
Workingexample (Python 3.4).
if True > False:
    print("True > False")
else:
    print("True <= False")
   
inpt = input()
 
print(inpt)
 

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS