├── README.md └── Simple_Calculator.py /README.md: -------------------------------------------------------------------------------- 1 | # Simple Calculator 2 | 3 | You can run the file in vscode and pycharm 4 | -------------------------------------------------------------------------------- /Simple_Calculator.py: -------------------------------------------------------------------------------- 1 | val1 = 23 2 | val2 = 5 3 | 4 | # addition 5 | print("The addition of", val1, "and", val2, "is: ", val1+val2) 6 | 7 | # subtraction 8 | print("The subtraction of", val1, "and", val2, "is: ", val1-val2) 9 | 10 | # multiplication 11 | print("The multiplication of", val1, "and", val2, "is: ", val1*val2) 12 | 13 | # division 14 | print("The division of", val1, "and", val2, "is: ", val1/val2) 15 | print("The whole division of", val1, "and", val2, "is: ", val1//val2) 16 | 17 | # exponential 18 | print("The exponential of", val1, "and", val2, "is: ", val1**val2) 19 | 20 | # modulus 21 | print("The modulud of", val1, "and", val2, "is: ", val1%val2) 22 | --------------------------------------------------------------------------------