Квадрат:
i = 0
while i < 5:
i += 1
print("*"*5)
Треугольник:
while i < 4:
print("*"*i)
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Квадрат:
i = 0
while i < 5:
i += 1
print("*"*5)
Треугольник:
i = 0
while i < 4:
i += 1
print("*"*i)