Skip to content

Add Python tip using enumerate() for loops#79

Open
loganionian wants to merge 4 commits into
almadhlom:mainfrom
loganionian:fix-issue-50
Open

Add Python tip using enumerate() for loops#79
loganionian wants to merge 4 commits into
almadhlom:mainfrom
loganionian:fix-issue-50

Conversation

@loganionian

Copy link
Copy Markdown

The issue proposes a Python tip to use enumerate() for obtaining both the index and the value in loops. This can be demonstrated through a simple example. I will modify chatgpt-test.py to include a new function that uses enumerate() and update the README with this example.

Fixes #50

@almadhlom

Copy link
Copy Markdown
Owner

The issue proposes a Python tip to use enumerate() for obtaining both the index and the value in loops. This can be demonstrated through a simple example. I will modify chatgpt-test.py to include a new function that uses enumerate() and update the README with this example.

Fixes #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Daily-Info

2 participants