Загрузить файлы в «/»
This commit is contained in:
parent
c24e44c193
commit
19ad7f6d71
9
calcularot.py
Normal file
9
calcularot.py
Normal file
@ -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)
|
||||||
Loading…
Reference in New Issue
Block a user