Giới thiệu sản phẩm
print("<"*64)
print("<Hello every one, seem you here huh? on 4k trey >")
print(">"*64)
a = input("choose the first number")
b = input("choose the second number")
def add(k,m):
return k+m
def minus(k,m):
return k-m
def mutiply(k,m):
return k*m
def divine(k,m):
return k/m
print("-"*64)
print("this is a menu yea")
print("1. if you wanna add choose +")
print("2. if you wanna minus choose -")
print("4. if you wanna mutiply choose x")
print("4. if you wanna divine then choose :")
math = input("choose: +,-,x,:")
if math == "+":
c = add(a,b)
print(c)
elif math == "-":
c = minus(a,b)
print(c)
elif math == "x":
c = mutiply(a,b)
print(c)
elif math == ":":
c = divine(a,b)
print(c)
else:
print("error math")
Hình ảnh sản phẩm

Sản phẩm cùng tác giả
Sản phẩm liên quan
Không có sản phẩm nào
Đăng nhập để tham gia bình luận