Python Forum
SyntaxError: Missing parentheses in call to 'print'
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SyntaxError: Missing parentheses in call to 'print'
#1
Am new to python, a new concept which i love.... i started 3days back.... and am using a text book to teach myself.... i got to a section of the textbook and i saw a new concept which i love.but i entered the code the way it was entered in the text book.... but the program did not run...here is the code, and the result i was getting.......

>>> x = input("x:")
x:50
>>> y = input("y:")
y:50
>>> print x*y
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(x*y)?
Reply


Messages In This Thread
SyntaxError: Missing parentheses in call to 'print' - by sofret - Jun-15-2018, 12:54 PM
RE: i need help - by buran - Jun-15-2018, 01:13 PM
RE: i need help - by volcano63 - Jun-15-2018, 02:23 PM
RE: i need help - by buran - Jun-15-2018, 03:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Call to a print in a defined function leodavinci1990 1 1,915 Nov-20-2019, 01:45 AM
Last Post: ichabod801
  Write only data not >> () << parentheses zinho 2 3,460 Jun-28-2017, 02:28 PM
Last Post: zinho

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020