Programming Examples
Write a Program to print all numbers from 0 to 6 except 3 and 6.
Write a Program to print all numbers from 0 to 6 except 3 and 6.
Solutionfor i in range(7):
if i == 3:
continue
print(i)
Output0
1
2
4
5
