diff --git "a/4\354\243\274\354\260\250.py" "b/4\354\243\274\354\260\250.py" new file mode 100644 index 0000000..01d8c82 --- /dev/null +++ "b/4\354\243\274\354\260\250.py" @@ -0,0 +1,5 @@ +n = int(input("N : ")) +for i in range(n): + print(" " * (n - i) + "*" * (2 * i + 1)) +for i in range(n, -1, -1): + print(" " * (n - i) + "*" * (2 * i + 1)) \ No newline at end of file