Trong ví dụ này, bạn sẽ học cách tạo một máy tính đơn giản có thể thêm, trừ, nhân hoặc chia tùy thuộc vào đầu vào từ người dùng.
Để hiểu ví dụ này, bạn nên có kiến thức về các chủ đề lập trình Python sau:
- Chức năng Python
- Đối số chức năng Python
- Các chức năng do người dùng định nghĩa
Ví dụ: Máy tính đơn giản bằng cách sử dụng các chức năng
# Program make a simple calculator
# This function adds two numbers
def add[x, y]:
return x + y
# This function subtracts two numbers
def subtract[x, y]:
return x - y
# This function multiplies two numbers
def multiply[x, y]:
return x * y
# This function divides two numbers
def divide[x, y]:
return x / y
print["Select operation."]
print["1.Add"]
print["2.Subtract"]
print["3.Multiply"]
print["4.Divide"]
while True:
# take input from the user
choice = input["Enter choice[1/2/3/4]: "]
# check if choice is one of the four options
if choice in ['1', '2', '3', '4']:
num1 = float[input["Enter first number: "]]
num2 = float[input["Enter second number: "]]
if choice == '1':
print[num1, "+", num2, "=", add[num1, num2]]
elif choice == '2':
print[num1, "-", num2, "=", subtract[num1, num2]]
elif choice == '3':
print[num1, "*", num2, "=", multiply[num1, num2]]
elif choice == '4':
print[num1, "/", num2, "=", divide[num1, num2]]
# check if user wants another calculation
# break the while loop if answer is no
next_calculation = input["Let's do next calculation? [yes/no]: "]
if next_calculation == "no":
break
else:
print["Invalid Input"]
Đầu ra
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no
Trong chương trình này, chúng tôi yêu cầu người dùng chọn một hoạt động. Tùy chọn 1, 2, 3 và 4 là hợp lệ. Nếu bất kỳ đầu vào nào khác được đưa ra, đầu vào không hợp lệ được hiển thị và vòng lặp tiếp tục cho đến khi một tùy chọn hợp lệ được chọn.
Hai số được thực hiện và phân nhánh if...elif...else
được sử dụng để thực hiện một phần cụ thể. Các chức năng do người dùng xác định add[]
, subtract[]
, multiply[]
và divide[]
Đánh giá các hoạt động tương ứng và hiển thị đầu ra.
from
tkinter
import
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no0
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no3
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no4
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no5
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no7
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no8
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
if...elif...else
3 if...elif...else
4if...elif...else
5Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
if...elif...else
7if...elif...else
8if...elif...else
9Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no4
add[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
add[]
3add[]
4add[]
5
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no7
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no8
add[]
5add[]
9
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
4subtract[]
2subtract[]
3subtract[]
4add[]
5if...elif...else
7if...elif...else
8subtract[]
8
add[]
5
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no3
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
4add[]
4add[]
5if...elif...else
7if...elif...else
8subtract[]
2divide[]
0divide[]
1
add[]
5
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no3
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
4add[]
4Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no7
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no8
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
if...elif...else
3 if...elif...else
4if...elif...else
5Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
if...elif...else
7if...elif...else
8from
8Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no4
add[]
1add[]
5
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no7
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no8
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
import
0Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
import
2divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
import
5import
6divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
import
9Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no00
divide[]
1add[]
5add[]
9
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
4subtract[]
2subtract[]
3subtract[]
4add[]
5
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no3
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no13
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no15
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no16
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no18
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
4add[]
4Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no47
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no52
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no4
divide[]
7Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no81
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no1
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no3
from
9 tkinter
0
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
tkinter
3add[]
4Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
if...elif...else
15Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
tkinter
6Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
tkinter
8Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no15
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
if...elif...else
49Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no52
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no03
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no05
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no07
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no09
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no11
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
if...elif...else
83Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no21
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23__12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
add[]
08Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
add[]
17Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
add[]
25Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
add[]
29Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no26
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34__12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
add[]
51Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no15
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no52
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
add[]
59Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
add[]
63Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no26
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
add[]
76Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
add[]
85Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no15
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
add[]
93Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23______12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34__12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
subtract[]
19Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no15
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
subtract[]
27Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
subtract[]
31Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no26
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no52
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
subtract[]
53Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
74Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no52
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
subtract[]
61Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
subtract[]
65Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no26
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
subtract[]
73
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34__12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
subtract[]
87Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
subtract[]
95Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23__12
subtract[]
73
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
multiply[]
12Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
21Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06divide[]
1Các
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34__12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
55Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no15
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
63Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
multiply[]
67Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no26
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no36
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no37
multiply[]
80Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no39
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
89Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
74Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
06divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
multiply[]
97Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23______12
subtract[]
73
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34__12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
divide[]
20Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
74Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no49
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
divide[]
28Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
divide[]
32Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no26
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
subtract[]
73
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
divide[]
43Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no38
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no42
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no44
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
divide[]
51Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
if...elif...else
74Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
divide[]
56divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
divide[]
59Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no23
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
divide[]
63Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no26
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no33
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no34__12
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
divide[]
85Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
add[]
08Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no50
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no2
Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no52
divide[]
1Select operation. 1.Add 2.Subtract 3.Multiply 4.Divide Enter choice[1/2/3/4]: 3 Enter first number: 15 Enter second number: 14 15.0 * 14.0 = 210.0 Let's do next calculation? [yes/no]: no6
divide[]
93