MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learningpython/comments/q6m5it/pls_help_me_understand/hgdz7dm/?context=3
r/learningpython • u/Gebel_snow • Oct 12 '21
2 comments sorted by
View all comments
Show parent comment
1
You're using Python 2.x. The "print" function doesn't use round brackets.
print 'regular pay is:', reg, 'you go a bonus of:', otp
As for why...it's Python 🤷♂️
View all comments
Show parent comment
1
u/theprofessional2016 Oct 12 '21
You're using Python 2.x. The "print" function doesn't use round brackets.
print 'regular pay is:', reg, 'you go a bonus of:', otp
As for why...it's Python 🤷♂️