Print numbers Question Print all digits from 1 t0 9 except 5. in progress 0 Python YashikaKhurana 55 years 2 Answers 849 views Master 0
Answers ( 2 )
for i in range(1,10):
if i==5 :
pass
else:
print(i)
for i in range(1,10):
if i == 5:
continue
print(i)