<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
I was stumped by an exercise in functions. Any help would be appreciated.
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
Oops, try again. It looks like you have an error in your code. Check the error message for more info! - unexpected EOF while parsing (, line 0)
<What do you expect to happen instead?>
I expected the program to ask for input and return an absolute value if the input is an int or float and return “Nope” otherwise.
Thanks in advance for the help!```python
num = input("Type in a number: ")
if type(num) == int or float:
<do not remove the three backticks above>