Aug-30-2017, 03:54 AM
Started in Python yesterday. Why this code returns "SyntaxError: Missing parentheses in call to 'print'"
On the Forum interpreter it runs with no errors.
Thank you.
On the Forum interpreter it runs with no errors.
Thank you.
>>> for letter in 'Python': # First Example print 'Current Letter :', letter fruits = ['banana', 'apple', 'mango'] for fruit in fruits: # Second Example print 'Current fruit :', fruit print "Good bye!" >>>