Dear Tutor, i have just started learning python. I have repeatedly hit a road block on my mac os terminal . Everytime i use the "if :" command i get syntax errors. i do not see any errors on text editor i am following instructions from a book Original input on editor >>> a=2 >>> if a==2 : print("correct")
Last login: Tue Sep 5 15:43:03 on ttys000 Solariss-MacBook:~ Solaris$ /var/folders/Db/DbSciGOcFmyQ3L+HyzOb5E+++TI/-Tmp-/Cleanup\ At\ Startup/test-526290211.381.py.command ; exit; File "/Users/Solaris/Desktop/test.py", line 1 Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) ^ SyntaxError: invalid syntax logout [Process completed] _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor