write a program to print first 10 even natural numbers in reverse order using while loop
Answers
Answered by
3
Answer:
i=2
while(i<21):
print(i)
i=i+2
Explanation:
1. A variable is created and assigned with value 2
2." i<21" condition in while loop.
3. every time value is increased by 2 and printed.
Attachments:
![](https://hi-static.z-dn.net/files/df7/f2df45246d1947388ea97ef167318b93.png)
Answered by
1
Answer:
i= 10
while i > 0:
print(i)
i = i - 1
Explanation:
Hope it helps
⇒ Blue
Similar questions