print(' '.join(str(i) * i for i in range(1, 6)))
for i in range(1, 6):
print(str(i) * i)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
print(' '.join(str(i) * i for i in range(1, 6)))
for i in range(1, 6):
print(str(i) * i)
https://znanija.com/task/53070168?utm_source=android&utm_medium=share&utm_campaign=question