Write a Python program that prints all the numbers from 0 to 6 except
3 and 6.
Answers
Answered by
0
Answer:
I dont know
sorryyyyyy
Answered by
1
From the above series 0,1,2,3,4,5,6
Only the numbers 3 and 6 should not be printed else number will be printed.
Explanation:
Expected Output : 0 1 2 4 5
for num in range(7):
if num==3 or num==6:
continue
else:
print(num)
o/p:
0
1
2
4
5
Similar questions