Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- all_list = []
- a1, a2 = ARGV
- a1 == "-o" and a2.size > 0
- File.open(a2) { |file|
- while line = file.gets
- all_list << line.split('%').chomp
- end
- }
- print "type a number: "
- number = gets.to_i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement