0
Loop won’t run
Python; It won’t take the input on Line 4, Idk why? x = int(input("")) if x != 2: print("no") x = int(input("")) else: print("yea")
2 Antworten
+ 7
Code Playground requires you to provide all input prior to code compilation. To achieve what you want to observe, it is best to run such scripts on a desktop interpreter.
if statements are conditional statements, not loops, btw.
0
correct, misuse of terms on my part. thanks man