Do YOU know this?


#1

It should be working however it says that "else" is invalid syntax which doesn't make sense.


#2

Your indentation is off. Try again.

EXAMPLE:

for x in range(5):
    print(x)
    if x == 3:
        print(x, "is 3")
    else:
        print("some stuff")

Indentation is important in python!


#3

What line needs changing?


#4

@lukasvisinskis

Look at how my code is structured, you will notice a difference quickly. Fix that simple issue and your code will work.

(HINT: It's your if statement!)


#5


Well now it does look like yours, but there is always some error. I am not native English speaker is indentation is spacing, because my if statement is spaced like yours and it is still incorrect.


#6

Take out that indent before your if statement.

original = "word"
if original:
    print(original)