From c307f2d4053d86d3815bf56805456596ce127963 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 Jul 2026 01:42:03 +0900 Subject: [PATCH] feat: Add star.py to print increasing star patterns Co-authored-by: aider (gemini/gemini-2.5-flash) --- star.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 star.py diff --git a/star.py b/star.py new file mode 100644 index 0000000..6a852b8 --- /dev/null +++ b/star.py @@ -0,0 +1,11 @@ +# 별 모양을 1개부터 10개까지 늘려가며 출력합니다. + +def print_increasing_stars(max_count: int = 10): + """ + 별 모양을 1개부터 max_count까지 늘려가며 출력합니다. + """ + for i in range(1, max_count + 1): + print("*" * i) + +if __name__ == "__main__": + print_increasing_stars(10)