fork(1) download
  1. user_text = input()
  2.  
  3. if user_text == 'привет':
  4. print('Привет-привет!')
  5. print('Привет-привет!')
  6. if user_text == 'пока':
  7. print('До скорого!')
  8. if user_text =='Закажи еду':
  9. print('Пиццу или борщ?')
  10. else:
  11. print('Не понимаю, повторите')
Success #stdin #stdout 0.02s 9132KB
stdin
Закажи еду
stdout
Пиццу или борщ