calculator design coding in python
Answers
Answered by
17
Answer:
operation = input(''' Please type in the math operation you would like to complete: + for addition - for subtraction * for multiplication / for division ''') number_1 = int(input('Enter your first number: ')) number_2 = int(input('Enter your second number: ')) if operation == '+': print('{} + {} = '.
(hope it's help) ✌☺
Answered by
0
Answer:
In this example you will learn to create a simple calculator that can add, subtract, multiply or divide depending upon the input from the user. To understand this example, you should have the knowledge of the following Python programming topics: Python Functions. Python Function Arguments.
Similar questions
India Languages,
4 months ago
Math,
4 months ago
Computer Science,
8 months ago
English,
8 months ago
Math,
1 year ago
Computer Science,
1 year ago