Ответ:
#Объявление переменных
maxWidth = 18
minWidth = 4
for i in range(maxWidth, minWidth - 1, -2):
spaceCount = 18 - i
print(" " * (spaceCount // 2), "@" * i)
for i in range(minWidth, maxWidth + 1, 2):
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#Объявление переменных
maxWidth = 18
minWidth = 4
for i in range(maxWidth, minWidth - 1, -2):
spaceCount = 18 - i
print(" " * (spaceCount // 2), "@" * i)
for i in range(minWidth, maxWidth + 1, 2):
spaceCount = 18 - i
print(" " * (spaceCount // 2), "@" * i)