Parentheses | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Parentheses

Why we use parenntheses with print function, as i remember they re not needed in v. 2.7

5th Nov 2016, 7:17 AM
Danil Tk
Danil Tk - avatar
1 Answer
+ 2
print is a statement in 2.x it's a function in 3.x Why? https://www.python.org/dev/peps/pep-3105/
5th Nov 2016, 8:20 AM
Kirk Schafer
Kirk Schafer - avatar