Skip to content
Snippets Groups Projects
Commit 9a0a2bd3 authored by D Vengatesh's avatar D Vengatesh
Browse files

q5 done

parent 531ff12e
Branches
No related tags found
No related merge requests found
Pipeline #51 canceled
'''using for loop'''
for i in range(49,20,-2):
print(i)
'''5.using while loop'''
i=int(49)
while i>19 :
print(i)
i-=2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment