0

Are parentheses necessary? I'm learning v2.7 online and it doesn't show () around quotes

20th Jul 2016, 6:38 PM
miniYannie
1 Answer
0
Python 2.xx presents print as a statement, hence print "Hello world" Python 3.xx presents print as a function, hence print("Hello world") This platform uses the latter version so I guess you will need to make little modification to the version 2.xx you are learning to make it follow along the codes on this platform.
21st Jul 2016, 1:36 PM
Benneth Yankey
Benneth Yankey - avatar