In this lesson the answer is else which is not the same for me when I run it in code playground it gives no output | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

In this lesson the answer is else which is not the same for me when I run it in code playground it gives no output

if 1 + 1== 2: if 2 * 2 == 8 print ("if") else print ("else)

13th Jul 2018, 12:58 PM
Joseph Okonkwo
Joseph Okonkwo - avatar
1 Antwort
+ 3
that's because there is no else after second if
13th Jul 2018, 1:31 PM
Mert Yazıcı
Mert Yazıcı - avatar