0
Help please with Calculator
Hello my friends. I am newbie and i want to get knowledge very much. I can't find information about simple calculator in russian language. Maybe somebody saw this information. I need your help so much. Thanks for your attention
3 Respostas
+ 3
Execute this and input the expression to be calculated:
print(eval(input()))
+ 1
Hello, is very easy check my code.
Instrucciones for use:
Enter first value example 5
Enter Second value example 4
Enter Options
1 = Adition
2 = Sustraction
3 = Multiplication
4 = Division
https://code.sololearn.com/ct1Zv54p8kHd/?ref=año
If you need calculate for example 25 % the formula is:
value * 0.25
Sorry for my English is my Second lenguaje.
0
Yes, it very easy, but i wanted to understand how to write code of calculator where will be more information about ever act(+,-,*,%, etc)
But thanks so much too))))))