Informatics Practices
Write the output of the following:
for x in range (10, 20):
if (x == 15):
break
print(x)
Related Questions
Write the output of the following:
for j in range (10,6,-2) : print (j*2)Write the output of the following:
for x in range (1, 6) : for y in range (1, x+1): print (x, ' ', y)Write the output of the following:
for x in range (10, 20): if (x % 2 == 0): continue print (x)Write the output of the following program on execution if x = 50:
if x > 10: if x > 25: print ( 'ok' ) if x > 60: print ( 'good' ) elif x > 40: print ( 'average' ) else: print ('no output')