Can someone explain this to me. Why the ouput is true. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Can someone explain this to me. Why the ouput is true.

a = 0 b = 1 c = a and b print (not c) Output : True

18th Sep 2019, 3:48 PM
Ri VOID
Ri VOID - avatar
1 Réponse
+ 2
c = 1 and 0 c = 0 = False not c = not 0 not c = 1 = True
18th Sep 2019, 4:06 PM
Anton Böhler
Anton Böhler - avatar