geekcomputers / geekcomputers/Python

Nested for loop

Open
#1,090 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
35.4k
Forks
12.9k
Avg merge
2h 37m
Merged PRs (30d)
1

Description

User input for number of rows

rows = int(input("Enter the rows:"))

Outer loop will print number of rows

for i in range(0,rows+1):

Inner loop will print number of Astrisk

for j in range(i):  
    print("*",end = '')  
print()  

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides only an inline Python snippet and names no repository file, test, or requested change. First clarify whether this nested-loop example should be added or corrected, then locate the relevant example entry point and define completion before making changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.