St. Britto Hr. Sec. School - Madurai
12th Computer Science Weekly Test - 2 ( Control Structures )-Aug 2020
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Program to illustrate the use of break statement inside for loop
for word in “Jump Statement”:
if word = = “e”:
break
print (word, end= ' ') -
Program to illustrate the use of continue statement inside for loop
for word in “Jump Statement”:
if word = = “e”:
continue
print (word, end=”)
print (“\n End of the program”) -
Write a program to display all 3 digit odd numbers.