Skip to content

It supports any valid infix expression, using reverse Poland algorithm to calculate.(Operations +-*/^%())(Unsafe checking included)

Notifications You must be signed in to change notification settings

Jyxcana/Python-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Python-Calculator

It supports any valid infix expression, using reverse Poland algorithm to calculate. Operations: +-*/^%() Feature: Unsafe checking included

To support more operators, you only need to: add priority order of that operator in the 'order' dictionary in the code add the operator into the op_string add elif branch in cal() function for that operator

About

It supports any valid infix expression, using reverse Poland algorithm to calculate.(Operations +-*/^%())(Unsafe checking included)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages