#Toc
There are 7 Operators in Python
Symbols | Fuctions |
---|---|
+ | Addition |
- | Subtraction |
* | Multiplication |
/ | Division |
% | Modulus |
** | Exponentiation |
// | Floor division |
Well there will be a input prompt which is named as
Enter Operation:
Note: Please Use the Symbols which i have provied in this table
You can input the number to the following 2 promts in cmd
Enter Number A :
Enter Number B :
Install Python 3.10 or Higher on your Computer.
Clone the Repo using Git Clone cmd or Download the code
Git Clone Command
git clone https://github.com/Nivin389/Calk.git
To run the main.py
file You have to copy and Paste the Command
python main.py
That how you run the main.py
file
If you are geting like this error
Traceback (most recent call last): File "C:\Users\nivin\Desktop\Github\Python Projects\Calcu\main.py", line 6, in <module> a = int(input("Enter Number A :")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: '9+'
Which means that the input of Number A and Number B are Classified as int value (integer Value). Integer value are accpected only Number Value no other strings and symbols are not allowed .