← Back to List

26772번: Poziome serca ↗

Solutions

Python 3
242 B | 242 chars
n = int(input())
l = [
    " @@@   @@@ ",
    "@   @ @   @",
    "@    @    @",
    "@         @",
    " @       @ ",
    "  @     @  ",
    "   @   @   ",
    "    @ @    ",
    "     @     "
]

for s in l:
    print(s + (" " + s) * (n - 1))