Skip to content

Fix broken Python basics exercise scripts (issue #27)#43

Closed
niall-stack wants to merge 1 commit into
ProjectX-VJTI:mainfrom
niall-stack:fix-27-basics-bug-exercises
Closed

Fix broken Python basics exercise scripts (issue #27)#43
niall-stack wants to merge 1 commit into
ProjectX-VJTI:mainfrom
niall-stack:fix-27-basics-bug-exercises

Conversation

@niall-stack

Copy link
Copy Markdown

Summary\nFixes the broken starter scripts under est_playground/basics/ referenced in #27 so they now match the expected behavior in inline comments.\n\n### Files fixed\n- hello.py: corrected Hello World print syntax\n- input_output.py: added proper type casting, list parsing, f-string interpolation, and compact multiline print\n- �ars_and_ops.py: fixed mixed-type addition, corrected division output/rounding, simplified power logic, corrected bitwise operator labels\n- conditionals.py: fixed age casting/age buckets, completed day match, corrected exception handling\n- loops.py: fixed multiples-of-5 loop, completed zip output formatting, added 3-list zip example, case-insensitive loop condition\n- �oss.py: simplified/fixed expression handling and error reporting in a working loop\n\n## Validation\nManual code review against expected comments in each file.\n\nNote: I could not run these scripts in this environment because a Python runtime is not installed on host (py -3.11 not available).

@Once-1296

Once-1296 commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator

Read Contributing.md

First you are not supposed to edit any files outside your own solutions folder

(which is made by you and named as _solutions

replace <github_id> with your actual GITHUB ID

Either undo the wrong changes or start a new PR

and also please strictly follow the PR format guide. and state your name and details

If I dont see changes, I will close the PR.

If a mentor is assigned please refer them to guidance.

@Once-1296

Copy link
Copy Markdown
Collaborator

Closing this issue now, please make proper PR next time, take guidance of mentor. Till then u can practice python by running the tutorial codes locally.

@Once-1296 Once-1296 closed this Mar 6, 2026
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.

2 participants