diff --git a/calcularot.py b/calcularot.py new file mode 100644 index 0000000..823dd8d --- /dev/null +++ b/calcularot.py @@ -0,0 +1,9 @@ +a = int(input("1 число: ")) +b = int (input("2 число: ")) +go = str(input("+ или *: ")) +if go == "+": + c = a+b + print(c) +if go == "*": + d = a*b + print(d) \ No newline at end of file