-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Copy link
Labels
enhancementNew feature or requestNew feature or requesthacktoberfest-acceptedlevel 110 points10 pointsrecodethis is label for leaderboardthis is label for leaderboard
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Issue Description
The current “Loops in Python” documentation explains concepts clearly with syntax and examples. However, it lacks practice questions that learners can solve to test their understanding.
Adding a “Practice Questions” section at the end of the page will make the documentation more interactive and beginner-friendly.
Suggested Change
-
Add a new “Practice Questions” section at the bottom of the page.
-
Include 5–8 questions ranging from basic to slightly intermediate difficulty.
-
Provide questions such as:
- Looping through lists and strings
- Using
range()
- Applying
break
andcontinue
statements - Nested loops and pattern printing
-
Keep the format consistent with the rest of the documentation.
-
Optionally, provide a collapsible “Show Answer” section for each question.
Rationale
Benefits:
- Helps learners practice what they learned directly after reading.
- Makes the page more engaging and suitable for self-learners.
- Encourages contributions from the community (e.g., adding more questions later).
🏷️ Labels:
enhancement
documentation
hacktoberfest
Urgency
High
Record
- I have read the Contributing Guidelines
- Are you a GSSOC'25 contributor
- I want to work on this issue
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfest-acceptedlevel 110 points10 pointsrecodethis is label for leaderboardthis is label for leaderboard
Type
Projects
Status
Done