trying to write else stament in tera term but it fails why ?

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
t4tomer
Posts: 11
Joined: Mon Jul 23, 2018 3:31 pm

trying to write else stament in tera term but it fails why ?

Post by t4tomer » Mon Jul 30, 2018 10:40 am

here is the pic :



http://www.up2me.co.il/v.php?file=61637467.png


here is pic of the error ,ideas ?

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: trying to write else stament in tera term but it fails why ?

Post by OutoftheBOTS_ » Mon Jul 30, 2018 10:46 am

The indent of the else needs to be same indent as the if

Post Reply