What ways can i turn a simple code of if-then-else statement into more complicated code :)) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What ways can i turn a simple code of if-then-else statement into more complicated code :))

appreciated if with examples!! ♡

8th Oct 2019, 1:31 AM
janjanxxjx
4 Answers
+ 3
You can take an if, elif, else into an if else, if else.
8th Oct 2019, 6:09 AM
Sonic
Sonic - avatar
+ 1
https://code.sololearn.com/cb03m5jicZ5m/?ref=app This kind ? You can let people chose the answer you gave them.
8th Oct 2019, 1:44 AM
EagleArisriver
EagleArisriver - avatar
8th Oct 2019, 2:07 AM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar
+ 1
Here is yet another example showing if, else to achieve different objectives within the code https://code.sololearn.com/cmI7FvvuAAPR/?ref=app
8th Oct 2019, 2:11 AM
Rik Wittkopp
Rik Wittkopp - avatar