Загрузить файлы в «/»
This commit is contained in:
commit
c24e44c193
15
calcularot2.py
Normal file
15
calcularot2.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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)
|
||||||
|
if go == "-":
|
||||||
|
e = a-b
|
||||||
|
print(e)
|
||||||
|
if go == "/":
|
||||||
|
t = a/b
|
||||||
|
print(t)
|
||||||
Loading…
Reference in New Issue
Block a user