[Solved] Python Syntax error (“”) [closed]


As pointed out in this answer, print is a function in Python 3, which means you need to wrap the arguments to print within parentheses.

So this should fix the error in your case:

print("employee / supervisor id :" ,k.get_id()," Date joined :" ,k.get_date())

2

solved Python Syntax error (“”) [closed]