Syntax

python

#1

I have found out that in IDLE(the built in IDE that comes with Python) doesn't except print with out parenthesis. But the editor on Codecademy excepts it without parenthesis. Why is this?


#2

IDLE on your machine is probably Python 3, which requires (), but Python 2.7.2 on this site does not.


#4

@mtf

Yep IDLE on my machine is3(3.5 to be exact). So that's why!!!!