-
Notifications
You must be signed in to change notification settings - Fork 138
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 “Conditional Statements in Python” documentation currently provides syntax and examples for if, elif, and else statements. However, it lacks practice questions, which are essential for learners to apply their knowledge and build confidence.
Adding a “Practice Questions” section at the end of the page will make the documentation more interactive, especially for beginners.
Suggested Change
-
Add a new “Practice Questions” section at the bottom of the page.
-
Include 5–8 practice questions covering different conditional use cases such as:
- Basic
ifconditions - Multiple conditions with
elifandelse - Nested
ifstatements - Conditional logic with user inputs
- Real-life decision-making problems (e.g., grading systems, age checks)
- Basic
-
Follow the same styling and formatting as the existing documentation.
-
Optionally, add collapsible “Show Answer” sections for each question.
Rationale
Benefits:
- Encourages hands-on practice and deeper understanding of conditional logic.
- Makes the page more engaging for self-learners.
- Good entry point for contributors to add more questions or solutions in future PRs.
🏷️ 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