diff --git a/content/python/loops-in-python.md b/content/python/loops-in-python.md new file mode 100644 index 00000000000..b979ab6582b --- /dev/null +++ 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 + +