Please, I have some errors in my Python code. I don't know why. Can you correct it?
# Input values from the user as raw text
text = input()
# Now convert the text into a list of values
values = text.split()
# Now convert the list of text values into numeric values
for i in range(len(values)):
values[i] = int(values[i])
# Print the list of numeric values
print(values)
This error message:
Your code failed one or more hidden tests.
Your code must pass all tests to earn any marks. Try again.
Input:
Expected:
Got:
Forward:
12345678910
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Your code failed one or more hidden tests. Your code must pass all tests to earn any marks. Try again.