Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

lambda-fairy/calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

calc

calc (for want of a better name) is a simple scientific calculator written in Python.

Features

  • Operators: associativity and precedence (BEDMAS), unary operators, functions.
  • Implicit multiplication: 2(x + 1)y is interpreted as 2 * (x + 1) * y.
  • Extensible: new operators can be defined trivially.

Run

calc uses Python 2.

python calc.py

About

➗ Simple scientific calculator in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages