My code runs, but if I input (P) the last part of code it doesn't execute, may I ask what is the problem? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
+ 2
Put } at the end of line 25 and Remove } from line 32
26th Feb 2023, 6:22 AM
I am offline
I am offline - avatar
+ 2
Thank you very much ♥️👏
26th Feb 2023, 7:03 AM
Francis