HomePython CodesHow to create simple calculator with python? | Python Simple Calculator How to create simple calculator with python? | Python Simple Calculator Programmerz Lab October 11, 2022 0 Python Simple Calculator Code.The source code for simple calculator in python is given here: print("Welcome to Python Calculator!") while (True): print() print() print() print(" Press 1 for Addition") print(" Press 2 for Subtraction") print(" Press 3 for Multiplication") print(" Press 4 for Division") print(" Press 5 for Power") print(" Press 6 for Remainder") print() print() print() main1 = input(" Please Select Your Operation First : ") print() main2 = int(input(" Please Enter First Number : ")) print() main3 = int(input(" Please Enter Second Number : ")) if main1 == "1": print() print("The Answer of",main2,"+",main3,"is =",main2+main3) if main1 == "2": print() print("The Answer of",main2,"-",main3,"is =",main2-main3) if main1 == "3": print() print("The Answer of",main2,"x",main3,"is =",main2*main3) if main1 == "4": print() print("The Answer of",main2,"/",main3,"is =",main2/main3) if main1 == "5": print() print("The Answer of",main2,"**",main3,"is =",main2**main3) if main1 == "6": print() print("The remainder is =",main2%main3) Click to Copy Tags Python Codes Facebook Twitter Whatsapp Share to other apps How to create simple calculator with python? | Python Simple Calculator Python Codes Newer Older