code in python for question in image
Attachments:
Answers
Answered by
3
Python Code:
for i in range(0, 5):
for j in range(10, 41 - (i * 10), 10):
print(j, end = " ")
print( )
Answered by
2
Here is your code written in Python language.
for i in range(0,5):
a=10
for j in range(i,5):
print (a, end=" ")
a=a+10
print(" ")
Output:-
10 20 30 40 50
10 20 30 40
10 20 30
10 20
10
Similar questions