0

My code runs, but if I input (P) the last part of code it doesn't execute, may I ask what is the problem?

https://code.sololearn.com/cufEiwCHg1B2/?ref=app

26th Feb 2023, 5:47 AM
Francis
2 Answers
+ 2
Put } at the end of line 25 and Remove } from line 32
26th Feb 2023, 6:22 AM
Just Some Random Guy
Just Some Random Guy - avatar
+ 2
Thank you very much â™„ïžđŸ‘
26th Feb 2023, 7:03 AM
Francis