Permalink
Browse files

remove extension per PuzzleBot response

  • Loading branch information...
1 parent fc039d9 commit 1ba8751094612ab2f6943b5b113ea633cc622004 @jwang committed Jan 15, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 hoppity/hoppity
View
@@ -0,0 +1,12 @@
+#!/usr/local/bin ruby
+
+line = ARGF.gets
+for i in 1..line.strip.to_i
+ if i % 3 == 0 and i % 5 == 0
+ puts "Hop"
+ elsif i % 3 == 0
+ puts "Hoppity"
+ elsif i % 5 == 0
+ puts "Hophop"
+ end
+end

0 comments on commit 1ba8751

Please sign in to comment.