+ 1

Line 37 error

Getting an error on line 37. (Var eat) Could someone please explain why? Something to do with the variable being a string vice number? https://code.sololearn.com/WpQeJF5Q6Hep/?ref=app

6th Nov 2019, 4:44 PM
Alex
Alex - avatar
2 odpowiedzi
+ 3
You wrote 'promt' instead of 'prompt', that's why you're getting an error.
6th Nov 2019, 5:02 PM
Théophile
Théophile - avatar
+ 3
probably a sign to call it a night 🤣...
6th Nov 2019, 5:42 PM
Alex
Alex - avatar