0

Code Coach Day of the Week

I have difficulty in solving mentioned question. I pass case 1, 2 and 3, but failed on 4 and 5 which are locked. Below is my code, would anyone point out the potential error WITHOUT a working code? https://code.sololearn.com/cZONIcl9OTvx/?ref=app

22nd Sep 2023, 7:25 AM
Wong Hei Ming
Wong Hei Ming - avatar
2 Respostas
+ 2
Is this the code? https://code.sololearn.com/c4gGgDNM3l2W/?ref=app The link you posted didn't work for me. Just as an aside, it's better to attach the code as per this instruction: https://code.sololearn.com/Wek0V1MyIR2r/?ref=app In that code, you don't accept input, which is required by the task.
22nd Sep 2023, 7:21 PM
Ausgrindtube
Ausgrindtube - avatar
0
Thanks, Ausgrindtube. The code you linked was my attempt to reply someone else about another challenge, and somehow the post is deleted by admin. I wrote the code on PC using the website version, made it public and copy the link after saving. Didn’t know it need to use the apps version to post a code like this. I updated my original post and the code should be viewable now.
23rd Sep 2023, 1:41 AM
Wong Hei Ming
Wong Hei Ming - avatar