Skip to content

Instantly share code, notes, and snippets.

@gomasy
Last active August 29, 2015 14:02
Show Gist options
  • Save gomasy/4d3136af58b0a36bfbc9 to your computer and use it in GitHub Desktop.
Save gomasy/4d3136af58b0a36bfbc9 to your computer and use it in GitHub Desktop.
stap
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