Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Нажмите Enter!")
- init()
- name = input(Напиши своё имя)
- what = input( "Что выберешь? (+, -, ): " )
- a = float( input("Первое число: ")
- b = float( input("Второе число: ")
- if what == "+":
- c = a + b
- print ("Выходит: " + str(c))
- elif what == "-"
- с = a - b
- print("Выходит: " - srt(c))
- else:
- print("Тебе сказали... ЛИБО +, ЛИБО -")
Advertisement
Add Comment
Please, Sign In to add comment