weeks1to2/array/you guessed it.rb
2017-08-14 11:34:33 +10:00

17 lines
338 B
Ruby

shoppingList =[
"chips",
"water",
"hookers",
"marajuana",
"Guacamole",
alcohol =
[
"rum",
"whiskey",
"whatever"]
]
chosenDip = shoppingList[4]
list_Item = shoppingList.length + alcohol.length - 1
puts "The best dip in the world is #{chosenDip}"
puts "Your shopping list has #{list_Item} in it"