Posted on 16th September 2024|35 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 16th September 2024| views
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?")