[docs] Bug in python tutorial

Rian van Kampen rianvankampen at gmail.com
Sun Dec 31 13:22:30 EST 2017


Hi, 

Im trying to learn python and i can not get the example of 4.1. If statements to work. 

Every time i fill out x and the first if statement i go to the elif statement. As i put in the colon and hit enter to go to the next line to write the print it executes the lines and gives me a syntax error. The elif statement doesnt come on the same level als the first if statement. I cant find the answer online so could you please help me out? And correct the example of 4.1.? 

Kind regards, 

Rian 


More information about the docs mailing list