From 6bbbb12d61b44bb9683fbdf5f16260d85da8b381 Mon Sep 17 00:00:00 2001 From: YOUR NAME Date: Fri, 4 Aug 2017 14:11:02 +1000 Subject: [PATCH] Initial commit --- new shopping.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 new shopping.rb diff --git a/new shopping.rb b/new shopping.rb new file mode 100644 index 0000000..e50d26d --- /dev/null +++ b/new shopping.rb @@ -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"