---
title: "Discussion on \"(Day 05) Task : Python Loops & Password Generator Task :-\" | Hashnode"
description: "Discussion on \"(Day 05) Task : Python Loops & Password Generator Task :-\". Loops in Python :-\nFor Loop :-\n\nA for loop is used to repeat a block of code for each item in a sequence (like a list, string, or range of numbers).\n\nSyntax of a for loop :-\nfor item in sequence:\n    # do something with item\n\n\nitem: A variable name y..."
url: "https://hashnode.com/posts/day-05-task-python-loops-and-password-generator-task/6804b3b4332f108bfbf8005d"
---

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

Discussion

# [(Day 05) Task : Python Loops & Password Generator Task :-](https://100-days-of-code-python.hashnode.dev/day-05-task-python-loops-and-password-generator-task?utm_source=hashnode&utm_medium=feed)

Loops in Python :- For Loop :- A for loop is used to repeat a block of code for each item in a sequence (like a list, string, or range of numbers). Syntax of a for loop :- for item in sequence: # do something with item item: A variable name y...

Apr 20, 2025 · 4 min read · 100-days-of-code-python.hashnode.dev  
Read the article

-   [#for-loop](https://hashnode.com/tag/for-loop)
-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#dr-angela-yu](https://hashnode.com/tag/dr-angela-yu)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#100daysofprojects](https://hashnode.com/tag/100daysofprojects)
-   [#100daysofpython](https://hashnode.com/tag/100daysofpython)

## Written by

[Aditya Sharma](https://hashnode.com/@brahmanaditya37)

@brahmanaditya37

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

DevOps Engineer

DevOps Enthusiast | Python | Chef | Docker | GitHub | Linux | Shell Scripting | CI/CD &amp; Cloud Learner | AWS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
