From 6bcba9db4e5e0bc53b59c1a38697e7b7f17ea288 Mon Sep 17 00:00:00 2001 From: ZaneRounder <176222268+ZaneRounder@users.noreply.github.com> Date: Sat, 7 Jun 2025 09:29:57 -0500 Subject: [PATCH 1/2] Add loops in Python documentation --- content/python/loops-in-python.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 content/python/loops-in-python.md diff --git a/content/python/loops-in-python.md b/content/python/loops-in-python.md new file mode 100644 index 00000000000..e69de29bb2d From 76bf3b505745747f7c7de1804cc32d57255b391c Mon Sep 17 00:00:00 2001 From: ZaneRounder <176222268+ZaneRounder@users.noreply.github.com> Date: Sat, 7 Jun 2025 09:42:27 -0500 Subject: [PATCH 2/2] Add Loops in python documentation --- content/python/loops-in-python.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/content/python/loops-in-python.md b/content/python/loops-in-python.md index e69de29bb2d..b979ab6582b 100644 --- a/content/python/loops-in-python.md +++ b/content/python/loops-in-python.md @@ -0,0 +1,15 @@ +# Loops in Python + +Loops are used to repeat actions. + +## For Loop Example +```python +for i in range(3): + print("Hello", i) + +count = 0 +while count < 3: + print("Hello", count) + count += 1 + +