For making a calculator in python , follow given steps :
Step 1) Make (n) no of variables for no of variables u want
Step 2) I will Take 2 Variables , let’s say a
and b
Step 3) Apply this code in Both Variables
float(input("Enter the value of first number"))
Step 4) Make a new variable c
Step 5) Enter whatever operation u want such as :
a+b
a-b
a*b
a/b
a%b
a**b
a//b
Step 6) Print variable c
Step 7) Run
This Is how u make a Calculator using Python