while True:
print("help для команд")
x=input()
if x=="help" :
print("1.help-команд")
print("2.calc-Калькулятор")
elif x == "calc":
print("a=")
a=int(input())
print("b=")
b=int(input())
print("a + b =" , a + b)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
while True:
print("help для команд")
x=input()
if x=="help" :
print("1.help-команд")
print("2.calc-Калькулятор")
elif x == "calc":
print("a=")
a=int(input())
print("b=")
b=int(input())
print("a + b =" , a + b)
print("help для команд")
x=input()
if x=="help" :
print("1.help-команд")
print("2.calc-Калькулятор")
elif x == "calc":
print("a=")
a=int(input())
print("b=")
b=int(input())
print("a + b =" , a + b)