Am declaring a function in python, but when am printing it it is throwing an error. I am new to python, am using python 3.5.2, below is my code, please guide me.
def myfunc(x):
y=x*2
x=27
return y
print myfunc(5)
Error message is: print myfunc(5) ^ SyntaxError: invalid syntax
Thanks & regards, Sanjay.