#python
num = list(range(1,6))
for n in num:
print(str(n) * n)
Объяснение:
Rusult:
C:\ProgramData\Anaconda3\python.exe/main.py
1
22
333
4444
55555
Process finished with exit code 0
#python
num = list(range(1,6))
for n in num:
print(str(n) * n)
Объяснение:
Rusult:
C:\ProgramData\Anaconda3\python.exe/main.py
1
22
333
4444
55555
Process finished with exit code 0