Indented block is expected in python 3.5.2 [duplicate]

I think you mean to have code that looks something like this:

x = 2
x = x + 12
if x < 10:
    print (x , ' is smaller than 10.')
else:
    print (x , 'is greater than or larger than 10.')

Because here as you can see there are indents, if you don’t already know that about python, you should give the basics a read again. Try here.

Leave a Comment