---
title: "Discussion on \"While Loops in Python!\" | Hashnode"
description: "Discussion on \"While Loops in Python!\". Hi Legends!!👋\n\nIn this article we're gonna learn about While loops in Python!\nLet's start: 😉\n1. What are while loops? 👑\nThe while loop in Python is used to iterate over a block of code as long as the test expression (condition) \nis true. \nWe gener..."
url: "https://hashnode.com/posts/while-loops-in-python/636e2c483feca9842b18917d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [While Loops in Python!](https://blog.amenas.me/while-loops-in-python?utm_source=hashnode&utm_medium=feed)

Hi Legends!!👋 In this article we're gonna learn about While loops in Python! Let's start: 😉 1. What are while loops? 👑 The while loop in Python is used to iterate over a block of code as long as the test expression (condition) is true. We gener...

Nov 11, 2022 · 4 min read · blog.amenas.me  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#python3](https://hashnode.com/tag/python3)
-   [#python-projects](https://hashnode.com/tag/python-projects)
-   [#learning](https://hashnode.com/tag/learning)

## Written by

[Amena 💫](https://hashnode.com/@AmenaiSabuwala)

@AmenaiSabuwala

  
[View profile](https://hashnode.com/@AmenaiSabuwala)

Learning and teaching beginners

## Responses 4

Markdown supported · ⌘↵ to post

[Richard Donkor Amponsah](https://hashnode.com/@richarddonkor)

[Dec 9, 2022](https://hashnode.com/posts/while-loops-in-python/636e2c483feca9842b18917d/comment/6392fb3d120246e215ffd909)

Great Article 😅

[Amena 💫](https://hashnode.com/@AmenaiSabuwala)

[Dec 10, 2022](https://hashnode.com/posts/while-loops-in-python/636e2c483feca9842b18917d/comment/6392fb3d120246e215ffd909#reply-6394478215750808b2699ea5)

Thank you so much!!😊

[MISS CREATIVE](https://hashnode.com/@MissCreative)

[Nov 11, 2022](https://hashnode.com/posts/while-loops-in-python/636e2c483feca9842b18917d/comment/636e307bd39d7a16cd5e7e74)

it is so much easy only after you write this masterpiece

[Amena 💫](https://hashnode.com/@AmenaiSabuwala)

[Nov 11, 2022](https://hashnode.com/posts/while-loops-in-python/636e2c483feca9842b18917d/comment/636e307bd39d7a16cd5e7e74#reply-636e466dd39d7a16cd5e814f)

Thank you so much Bestiee!!❤

[Muzzammil](https://hashnode.com/@humblemuzzu)

[Nov 11, 2022](https://hashnode.com/posts/while-loops-in-python/636e2c483feca9842b18917d/comment/636e30424a012314f74b9a96)

Awesome 😎👍🏻

[Amena 💫](https://hashnode.com/@AmenaiSabuwala)

[Nov 11, 2022](https://hashnode.com/posts/while-loops-in-python/636e2c483feca9842b18917d/comment/636e30424a012314f74b9a96#reply-636e4679aa170a179c298664)

Thanks Muzzammil
