Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [
- 1,1,1,1,1,0,2,2,2,2,2
- ]
- if a.sample == 1
- puts "Eagle"
- end
- if a.sample == 2
- puts "Rabbit"
- end
- if a.sample == 0
- puts "Snake"
- end
- puts
- if (a.sample == 1)
- puts "bow"
- elsif (a.sample == 2)
- puts "agre"
- elsif (a.sample == 0)
- puts "LoL"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement