Giter VIP home page Giter VIP logo

scifi-calculator's Introduction

๐Ÿงฎ Scientific Calculator

A bare-bones scientific calculator made using python that internally uses Polish Notation Algorithm, more commonly known as Postfix Algorithm.

The implementation is done using an incremental stack which acts as a wrapper over python's list and provides normal naming conventions.

The project is a fun group project made in UG semester 4 for python programming skill based lab course. So it's not a full-blown scientific calculator but rather a cheap imitation of one.

๐Ÿ“’ Note:

  • The project is built using Python3 so any references to python defaults to Python3 otherwise a version will be specified.

๐Ÿซ‚ Group Members:

  • Danyl Fernandes - Layout
  • Boris Misquitta - Assets
  • Celestyn Kinny - Logic
  • Raymun Victor - Presentation

๐Ÿ’ฝ To Run:

As described the project only relies on 2 external dependencies namely, Tkinter and sqlite3 which are both available in python's standard library. Keep in mind that sqlite3 was added to standard library in Python 2.5 and Tkinter has been added since Python 3.1.

Now to run, just enter the following command.

py calculator.py

Make sure that your current working directory is the project directory. Even if you are in the correct directory and command doesn't work try one of the following commands.

python3 calculator.py
python calculator.py
py3 calculator.py

If an error shows up during the launch, please raise an issue.

๐Ÿ–ผ๏ธ Screenshots

Expression: 2^(78-3!-70)+12.5*(9/3)

As you can see you may use a wide variety of expressions from the basic feature this calculator provides.

Just try not to press the maximize button as it will make the layout messy.

Answer: 41.5

Yes, every answer is logged along with the expression that made it happen, but on the interface you can only see the answer using the arrow keys on your keyboard or on the calculator.

๐Ÿง‘โ€๐Ÿ’ป Have Fun!!! ๐ŸŽ‰

scifi-calculator's People

Contributors

neopentene avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.