number = raw_input("Enter a number.")
def function(number):
if number % 9 == 0:
print 9
else:
print number % 9
I get the following when trying to run it:
Enter a number.Traceback (most recent call last):
File "script.py", line 1, in <module>
number = raw_input("Enter a number.")
EOFError: EOF when reading a line
What's up with that?