0

Emoji Movie::Could someone tell me how to stop an extra line of code from giving output

Whenever I enter 13, Emoji Movie, it returns the extra if statement "Downloading" because it goes through the entire argument. elif doesn't work under another elif? https://code.sololearn.com/c9LMOEspDDk5/?ref=app

14th Aug 2017, 3:51 AM
Michael
Michael - avatar
3 Respuestas
+ 2
You can nest your if-elif statements and it should work just fine. You just need to make sure that your indentation is correct and that you start with an if statement. if condition: if condition: code here elif: code here elif: code here else: code here elif: if condition: code here elif: code here elif: code here
14th Aug 2017, 4:16 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
Fixed! Thanks Again.
14th Aug 2017, 4:29 AM
Michael
Michael - avatar
0
i seee!! okay ill get right on it!
14th Aug 2017, 4:22 AM
Michael
Michael - avatar