Posted on 27th February 2024|30 views
Why do we get the error called “missing parentheses in call to print” in python?
I am trying to print a statement like this in Python
Print "hi, how are you?"
I think this is correct but why am I getting the error called "missing parentheses in call to print".
Posted on 27th February 2024
Yes there is no problem in your print statement, but if you are running the code in python 3 then it will show the error called "missing parentheses in call to print", but it may work in python 2 without any problem, so if you are working on python 3 then do this to avoid the error
print("hi, how are you?")
STILL GOT QUERIES?