Skip to content

Instantly share code, notes, and snippets.

@kirillsulim
Last active August 29, 2015 14:13
Show Gist options
  • Save kirillsulim/0e138beaba99ce782554 to your computer and use it in GitHub Desktop.
Save kirillsulim/0e138beaba99ce782554 to your computer and use it in GitHub Desktop.
command = input("Введите команду")
if command == "exit":
exit()
else:
if command == "help":
help()
else:
if command == "hello":
print("hello!")
else
print("Нет такой команды")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment