1)
a = int(input())
c = input("Желаемое действие(+ - * / DEL): ")
b = int(input())
if c == "+":
print(a + ())
elif c == "-":
print(a - ())
elif c == "*":
print(a * ())
elif c == "/":
if b == 0:
print("На ноль делить нельзя!")
else:
print(a / ())
b = float(input("Введите второе число: "))
c = input("Желаемое действие(+ - * DEL): ")
if c == "+":
print(a + b)
elif c == "-":
print(a - b)
elif c == "*":
print(a * b)
# Python program to remove multiple
# elements from a list
# creating a list
list1 = [11, 5, 17, 18, 23, 50]
# Iterate each element in list
# and add them in variable total
for ele in list1:
if ele % 2 == 0:
list1.remove(ele)
2)
Вот пример:19*20+30000-29000