Last active
August 29, 2015 14:02
-
-
Save gomasy/4d3136af58b0a36bfbc9 to your computer and use it in GitHub Desktop.
stap
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
i = 1 | |
loop do | |
s = ("A".."Z").to_a.sample(4).join | |
print "#{s}細胞!" | |
if s =~ /STAP/ | |
puts "\n\n#{i}回目で陽性かくにん!\nよかった☆" | |
break | |
end | |
i += 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment