lukejagg / test-canary

Miscellaneous files for ML + web development
0 stars 1 forks source link

Add new calculator function for exponent operation #250

Open ghost opened 1 year ago

ghost commented 1 year ago

Description

This PR adds a new function for the exponent operation in the calculator program. It also updates the calculator function to include a new option for the exponent operation and adds error handling for any ValueError that may occur during the calculation.

Summary of Changes

Please review and merge this PR. Thank you!

Fixes #246.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/add-exponent-function_2

🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

lukejagg commented 1 year ago

In the exponent function, can you make the function error "Exponent error: " instead of "error"