for i in range(5):
print(" " * (4 - i), " @" * (i + 1))
for n in range(1, 6, 1):
print(str(n) * n)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
for i in range(5):
print(" " * (4 - i), " @" * (i + 1))
for n in range(1, 6, 1):
print(str(n) * n)