BluCloudEngineer/UWA-Workflows-in-GitHub-2023

Add square root logic to the application

Aberta

#118 aberto em 18 de mar. de 2026

 (0 comentário) (0 reação) (0 responsável)Python (40 forks)auto 404
help wanted

Métricas do repositório

Stars
 (0 estrela)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

New Feature Request

New Feature Checklist

Before submitting a new feature, please view the currently requested features here. If your feature has not been submitted, please complete this report:

  • I have checked the GitHub issues tracker and my feature has NOT been previously submitted.
  • This report is for a single feature only, I will create a new report for additional features.

Describe the New Feature

I want to add logic to the calculator application so that when one number is provided, it will calculate the square root of the value.

For example, if the following POST data is sent to the application:

data = {
    "operation": "sqrt",
    "number_1": 144, # Key and value required
    "number_2": None # Key must be supplied but its value is not used
}

The result will be:

Result: ± 12.0

NOTE: You MUST include the plus-minus sign (±) in the output

Describe Why the New Feature Should be Added

This task is required for next release for the customer.

Screenshots

Not applicable

Additional Notes

Not applicable

Guia do colaborador