0
IndetationError
When I run this Programm, an IndetationError came. But what can I do. The Error came by if user == "Jannis" or "Ninj4": print ("Hello Master :D") By the Computer is blank, But Not by SoloLearn https://code.sololearn.com/cSs4Fy5ZOBfF/?ref=app
1 Odpowiedź
+ 1
You have to press tab because the interpreter looks for intended blocks, so that it knows that it belongs to the if-statement :
in java it would be:
if (...){
doSomething();
}
in Python:
if (...):
doSomething()