Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error while substracting a smaller number from a bigger number. #3

Copy link
Copy link
@divya-gh

Description

@divya-gh
Issue body actions

Describe the bug
An Error was thrown when the result of the substation was a -ve number.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Calculator - calcy.py'
  2. Open in Visual studio.
  3. Run the script and When prompted to 'Enter Equation, type '2-3'(without quotes) and Enter
  4. Result is displayed in nextline
  5. Enter
  6. Error was thrown
    equation_empty_string

Expected behavior
After the result, I would expect the user to enter another equation or quit.

Desktop (please complete the following information):

  • OS: Windows
  • Python 3.6
  • IDE -Visual Studio
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.