Whats wrong with my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
23rd Aug 2021, 3:38 AM
Ananya | Inactive |
Ananya | Inactive | - avatar
8 Answers
+ 4
You're missing a "!" in surprised! Check my previous answer again
23rd Aug 2021, 5:04 PM
Simba
Simba - avatar
+ 3
surprised!
23rd Aug 2021, 3:58 AM
Simba
Simba - avatar
+ 2
Ananya Singh Check your outputs what actually you have to print in your commented code you have written this in 4th step after surprised their is exclamation mark but when u using print statement their is missing so once check it /* 1 - "You are happy!" 2 - "You are sad!" 3 - "You are angry!" 4 - "You are surprised!" other - "Unknown emotion." */
23rd Aug 2021, 6:31 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Ananya Singh, your code appears to work correctly so what is the problem?
23rd Aug 2021, 4:46 AM
David Akhihiero
David Akhihiero - avatar
+ 1
Your code is working properly without any errors may be you not entering your input value at run time .
23rd Aug 2021, 5:58 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Then in 15.2 it says my fifth case is still wrong Sorry for late answering Simba ,David Akhihiero ,A.S. , Kiran Deep Naidu
23rd Aug 2021, 1:47 PM
Ananya | Inactive |
Ananya | Inactive | - avatar
0
Ananya Singh What's wrong with your code?
23rd Aug 2021, 4:00 AM
Kiran Deep Naidu
Kiran Deep Naidu - avatar
0
Hey, idk when mods arrive here, but in my opinion it's a good practice to atleast show what was original task, your expectations, and how it's different, it narrows down the amount of vagueness that the answers will carry. All this ensures that you get right answers to the point.
24th Aug 2021, 6:10 PM
scientist
scientist - avatar