Code Problem😧 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Code Problem😧

Can any one help me in my code😢 https://code.sololearn.com/cULqYbI6bpJ2/?ref=app

2nd Sep 2020, 12:01 PM
Mohammad Hasan
Mohammad Hasan - avatar
8 Answers
+ 19
👍
2nd Sep 2020, 1:19 PM
Mohammad Hadian
Mohammad Hadian - avatar
+ 5
You can use like that ouside the switch: if( day == 5 ) print(" Text..");
2nd Sep 2020, 12:26 PM
Muhammadamin
Muhammadamin - avatar
+ 4
Remove if statement from inside the switch
2nd Sep 2020, 12:24 PM
Muhammadamin
Muhammadamin - avatar
+ 4
Hananeh Thank you😁 My input was day(Monday,...)😆😆😆😆😐
2nd Sep 2020, 1:09 PM
Mohammad Hasan
Mohammad Hasan - avatar
+ 3
Your switch statement is checking for the input of numbers 1-7 not the actual Birthday or date
2nd Sep 2020, 12:15 PM
Roderick Davis
Roderick Davis - avatar
+ 2
Muhammadamin thank you but it's not working😧
2nd Sep 2020, 12:49 PM
Mohammad Hasan
Mohammad Hasan - avatar
+ 2
Roderick Davis What I have to do?
2nd Sep 2020, 12:56 PM
Mohammad Hasan
Mohammad Hasan - avatar
+ 2
Hananeh I tried it before but it doesn't worked
2nd Sep 2020, 1:00 PM
Mohammad Hasan
Mohammad Hasan - avatar