Skip to content

fix: improve user-friendly input validation in basic programs#2682

Open
nithishkumar-dev-10 wants to merge 2 commits intohackdartstorm:mainfrom
nithishkumar-dev-10:fix/user-friendly-error-messages
Open

fix: improve user-friendly input validation in basic programs#2682
nithishkumar-dev-10 wants to merge 2 commits intohackdartstorm:mainfrom
nithishkumar-dev-10:fix/user-friendly-error-messages

Conversation

@nithishkumar-dev-10
Copy link

Improved input validation in basic programs.

  • Added try-except locks to handle invalid input
  • Implemented retry mechanism using while loop
  • Provided clear and beginner-friendly error messages

Updated files:

  • basics/02_variables_types/01_arithmetic.py
  • basics/02_variables_types/02_average.py

@nithishkumar-dev-10
Copy link
Author

Hi! I've added try-except based input validation and retry logic for better user experience.

Please review and let me know if any changes are needed. Thanks!

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.

1 participant