Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- name = input("Дай имя боту: ")
- print("Имя присвоено")
- def bot():
- answer = input("Ответ: ")
- hello = "Приветики", "Хелло", "Здарова", "Приветствую", "Привет"
- list = 'Привет', 'привет', 'Прив', 'Хай', 'хай', 'Превет', 'превет', 'Здароу', 'здароу', 'Здарова'
- while answer == list:
- helloy = random.choice(hello)
- print(name + helloy)
- bot()
- bot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement