Last active
October 14, 2019 06:38
-
-
Save gormih/4f2594b48553f44c44ec7cf25a394c2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def s_p_s_result(my, enemy): | |
| if my == enemy: | |
| return 'Ничья' | |
| elif (my, enemy) in [('Ножницы', 'Бумага'), ('Камень', 'Ножницы'), ('Бумага', 'Камень')]: | |
| return 'Ты победил' | |
| else: | |
| return 'Я выиграл' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment