Initial commit
This commit is contained in:
commit
6bbbb12d61
1 changed files with 21 additions and 0 deletions
21
new shopping.rb
Normal file
21
new shopping.rb
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
shoppingList =[
|
||||
"hummus",
|
||||
"Avocado",
|
||||
"ben n jerrys",
|
||||
"marajuana",
|
||||
"Guacamole",
|
||||
strippers =
|
||||
[
|
||||
"candy",
|
||||
"lollipop",
|
||||
"jelly"]
|
||||
]
|
||||
shoppingList = gets.chomp.to_i.to_s
|
||||
chosenItem = shoppingList[4]
|
||||
chosen_Stripper = strippers[2]
|
||||
|
||||
|
||||
puts "Want ot add an item to your Shopping list?"
|
||||
puts "#{shoppingList}"
|
||||
puts "The best thing to have in your tummy is #{chosenItem}"
|
||||
puts "Take a wild ride with #{chosen_Stripper} in it"
|
||||
Loading…
Add table
Reference in a new issue