Skip to content

Input Validation for Amount: #1

@Mehnaz2004

Description

@Mehnaz2004

Currently, the code assumes the amount input is always a valid integer. Implement input validation to ensure that users cannot enter negative numbers, non-integer values, or empty fields for the amount.

Suggestion: Use try-except blocks to catch invalid input and display an appropriate error message.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions