+ 2
I wanna make a simple calculator with python,but idk which type I have give to (+×÷=/)
First = int(input()) # number Second = input() #(+×÷=/) Third= int(input()) #number
4 Answers
+ 1
Another way - you can use eval():
#for example
https://code.sololearn.com/c9pv9GTWfuqw/?ref=app
+ 1
Try using the string type (str()).
+ 1
Good luck:)
+ 1
Thanks for helping me 🙏🏻