Skip to content

bengkel-linux/stupidly-simple-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forthebadge made-with-python


   _____ _               _     _ _          _____ _                 _         _____      _            _       _             
  / ____| |             (_)   | | |        / ____(_)               | |       / ____|    | |          | |     | |            
 | (___ | |_ _   _ _ __  _  __| | |_   _  | (___  _ _ __ ___  _ __ | | ___  | |     __ _| | ___ _   _| | __ _| |_ ___  _ __ 
  \___ \| __| | | | '_ \| |/ _` | | | | |  \___ \| | '_ ` _ \| '_ \| |/ _ \ | |    / _` | |/ __| | | | |/ _` | __/ _ \| '__|
  ____) | |_| |_| | |_) | | (_| | | |_| |  ____) | | | | | | | |_) | |  __/ | |___| (_| | | (__| |_| | | (_| | || (_) | |   
 |_____/ \__|\__,_| .__/|_|\__,_|_|\__, | |_____/|_|_| |_| |_| .__/|_|\___|  \_____\__,_|_|\___|\__,_|_|\__,_|\__\___/|_|   
                  | |               __/ |                    | |                                                            
                  |_|              |___/                     |_|                                                            

Stupidly Simple Calculator

A simple python program to do basic calcuation from cli and gui using Tkinter module!

Overview

The program prompts for user entry asking for the type of calculation they would want to execute. A menu will be verbosed for user to freely choose. From there individual instructions such as "Enter 1st no to add" is carried out for the user. A statement based input feature has been implemented on main. The GUI calculator is simply just a standard calculator having the same included arithmetics as the cli.

Features

Currently planned features:

  • GUI interface using Tkinter Python 3.7
  • Basic Arithmetics
  • Integer Arithmetics
  • Statement based input
  • Equation support (?)
  • Unequal support (?)
  • Negative/Imaginary support (?)

Basic Arithmetics

basic arithmetics will support basic floating point operators:

  1. Addition
  2. Substraction
  3. Multiplication
  4. Division
  5. Power
  6. Floor Division
  7. Factorial

Installation commandline calculator####

  • requires python ver 2.7
  • cd path to stupidly_simple_calculator
  • to run simply type in cli python calc_main.py

Installation GUI calculator####

  • requires python ver 3.7
  • install python tkinter module apt-get install python-tk(debian)
  • clone this repo and run the program

Note

This project is intended for Collaborative Computing class assignment, do not take this program too seriously :) Feel free to contribute,

License

This program is licensed with MIT