What's the difference between using a space between commands and using a parenthesis? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the difference between using a space between commands and using a parenthesis?

For example what's the difference between: Print 'What's the difference' and Print('What's the difference')

3rd Jan 2016, 11:13 PM
Lorenzo White
Lorenzo White - avatar
5 Answers
0
Parenthesis are mandatory in newer version of python.
19th Jan 2016, 7:02 AM
Ravi Sharma
Ravi Sharma - avatar
0
print "this is good" is for 2x python print("this is good") is for 3x python
11th Feb 2016, 5:05 PM
Digamma
Digamma - avatar
0
Print 'hello world' --- is of python 2.x Print('hello world') --- is of python 3.x
1st Apr 2016, 2:24 PM
Steeve Luis Angel Torres Agustin
Steeve Luis Angel Torres Agustin - avatar
0
hi am not getting answer
5th Jul 2016, 4:52 PM
D.A.Jaipal
0
echo "<2x> SoloLearn <2.xh1>";
5th Jul 2016, 5:03 PM
D.A.Jaipal