else fuction | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

else fuction

why can't we run if function differently from else function cause they kind of make the statement more complex?

18th Jun 2018, 12:23 PM
WISDOM JOHNSON
WISDOM JOHNSON - avatar
1 Réponse
+ 1
can you be more specific we can do this: if 1+1==2: print (true) else: print (false) or we can just leave it as if 1+1==2: print (true)
18th Jun 2018, 1:21 PM
Sahil Danayak
Sahil Danayak - avatar