On 27/10/2013 11:31 AM, ajetrum...@gmail.com wrote:
a=1;
if a==1: print(1)
else: print(0)
wait = input("press key")
You indent only subordinate statements.

You don't need a semi-colon unless it separates two statements on the same line.

Your code:

a=1
if a==1:
    print(1)
else:
    print(0)
wait = input("press key")

I hope that this helps.

Colin W.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to