Skip to content

ilynivin/Calk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calk

#Toc

Operators(Python Arithmetic Operators)

There are 7 Operators in Python

Symbols Fuctions
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulus
** Exponentiation
// Floor division

How to Use it ?

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 :

How to Run the Program ?

Step 1 ✒

Install Python 3.10 or Higher on your Computer.

Step 2 ✒

Clone the Repo using Git Clone cmd or Download the code

Git Clone Command

git clone https://github.com/Nivin389/Calk.git

Step 3 ✒

To run the main.pyfile You have to copy and Paste the Command

python main.py

That how you run the main.py file


Errors !

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 .

A project Made by Nivin S 💘

GitHub Repo stars GitHub forks GitHub top language GitHub repo file count

About

A Simple Calculator Project Using Python

Topics

Resources

Stars

Watchers

Forks

Languages