enter image description here5
I have to use a for loop to code this. I have tried many times but it never works.
enter code here num_of_times = 5 for x in range(1, num_of_times, 5): for y in range(5, i+5): print(y, end= '') print('')
You can try this:
lst = [] for i in range(1, 5): lst.append(i * 5) print(*lst)
1.4m articles
1.4m replys
5 comments
56.9k users