Computer Science, asked by ns413501, 8 months ago

calculator design coding in python ​

Answers

Answered by ÚɢʟʏÐᴜᴄᴋʟɪɴɢ1
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 shweta7910
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