0
if else statements in Python, Why is it giving output "No output", any explanation? Thanks!
if 1+1 == 2: if 2*2 == 8: print('excuted') else: print("failed")
3 Respostas
+ 1
if 1+1 == 2:
if 2*2 == 8:
print('excuted')
else:
print("failed")
How indentation very important.
0
if 1+1 == 2: #true
if 2*2 == 8:#false
The program ends
0
@ShortCode Thanks! Yea, indentation is very important in Python. :)