Why print(1)...? I'm confused please explain | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why print(1)...? I'm confused please explain

print(0) assert "h"! ="w" # condition is True it will print(1) assert False # condition is not true skip print(2) assert True # condition is ture why its not printing print(3)

31st May 2020, 1:48 PM
Balavan Chauhan
Balavan Chauhan - avatar
1 Respuesta
0
assert True print(3) works fine and is printing 3
31st May 2020, 2:37 PM
Abhay
Abhay - avatar