>>> guess_the_number()
Enter name: Lukas
Welcome to Guess the Number Lukas!
I will think of a number between 1 to 10.
Can you guess what that number will be?
Enter number: seven
Traceback (most recent call last):
File "<pyshell#44>", line 1, in <module>
guess_the_number()
File "<pyshell#42>", line 10, in guess_the_number
y=int(y) #Convert string into integer
ValueError: invalid literal for int() with base 10: 'seven'