10.Write a program to print
5 10 15 20 25...using a variable x using python language
Answers
Answered by
1
Answer:
n=int(input("ent a number to print\n"))
for x in range(0,n):
if(x%5==0):
print(x)
Explanation:
Output is attached look at that
HOPE IT HELPS YOU
DO FOLLOW FOR MORE PROGRAMS
MARK AS BRAINLIEST
Attachments:
Answered by
3
Question:-
Write a program in Python to print the following series.
5 10 15 20 25....
Program:-
n=int(input("Enter the number of terms: "))
x=5
for i in range(0,n):
print(x, end=" ")
x=x+5
Similar questions