Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input("Введи число до 30000"))
- y = int(input("Введи число до 30000"))
- z = input("Введи знак +, -, *, /")
- if z == "+" and x < 30000 and y < 30000:
- m = x+y
- print(m)
- elif z == "-" and x < 30000 and y < 30000:
- m = x - y
- print(m)
- elif z == "*" and x < 30000 and y < 30000:
- m = x*y
- print(m)
- elif z == "/" and x < 30000 and y < 30000:
- m = x/y
- print(m)
- else:
- print("Вы даун")
Advertisement
Add Comment
Please, Sign In to add comment