Welcome, guest | Sign In | My Account | Store | Cart

This is a calculator I created. You do not need any thing extra just run in 2.7.3 python. If you decide to change or modify this code and use it somewhere public please give me credit Sean Bambic

Thank You

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77``` ```done = False while not done: import cmath import time import math import Audio_mac print "+--------------------------+" print "|RAW_CALCULATOR 0.6 (BASIC)|" print "|A)Addition |" print "|B)Subtraction |" print "|C)Multiplication |" print "|D)Division |" print "|E)Exponents |" print "|F)Square Root |" print "+--------------------------+" usr_choice = raw_input (">>") if usr_choice == "A" or usr_choice == "a": print "What is A?" a = input (">>") print "What is B?" b = input (">>") print "PROCESSING DATA" time.sleep(0.8) c = a + b print c if usr_choice == "B" or usr_choice == "b": print "What is A?" a = input (">>") print "What is B?" b = input (">>") print "PROCESSING DATA..." time.sleep(0.8) c = a - b print c if usr_choice == "C" or usr_choice == "c": print "What is A?" a = input (">>") print "What is B?" b = input (">>") print "PROCESSING DATA..." time.sleep(1.8) c = a * b print c if usr_choice == "D" or usr_choice == "d": print "What is A?" a = input (">>") print "What is B?" b = input (">>") print "PROCESSING DATA..." time.sleep(1.8) c = a/b print c if usr_choice == "E" or usr_choice == "e": print "What is A?" a = input (">>") print "What is B?" b = input (">>") print "PROCESSING DATA..." time.sleep(1.8) c = a**b print c if usr_choice == "F" or usr_choice == "f": print "What is A?" a = input (">>") print "PROCESSING DATA..." time.sleep(1.8) c = math.sqrt(a) print c if usr_choice == "42": print "The answer to the universe life and everything!" time.sleep(1.8) print "BLOODY FORTY TWO!" print ("Try Again? Y/N") input = raw_input(">>") if input == "N" or input == "n": done = True ``` Created by Sean "Golden_Apples" Bambic on Wed, 18 Sep 2013 (MIT)