+ 7
Callum Sewart , there are some typos and other things that prevents the code from running properly. see my comments in the code: https://code.sololearn.com/cTg0TRF501C1/?ref=app
29th Nov 2022, 6:50 PM
Lothar
Lothar - avatar
+ 1
there is print statement in first case and in else statement only 😉 so if I choose num 2-9 the code crush because you didn't set anything for those cases
29th Nov 2022, 8:00 PM
iTech
iTech - avatar