17 lines
338 B
Ruby
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"
|