Hi everyone, im new to coding here and I was just playing around with functions within the terminal app on my Mac. I was wondering why I get this syntax error for the following block of code? however this block of code works perfectly within Codecademy.
thanks a ton
def ea(hi):
… return hi/6.22
… print(ea(0.708))
File “”, line 3
print(ea(0.708))
^
SyntaxError: invalid syntax