Created
August 7, 2016 04:26
-
-
Save tututen/2bb77e89ffd509da782ad22852378178 to your computer and use it in GitHub Desktop.
zundoko KIYOSHI PYTHON #codejp
This file contains 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
#!/usr/bin/env python | |
import random as r | |
s=' '*16 | |
while True: | |
p=r.choice(['zun','doko']) | |
print(p) | |
s+=p | |
if s[-16:]=='zun'*4+'doko': | |
print 'KIYOSHI!' | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment