Skip to content

Instantly share code, notes, and snippets.

@xcobar

xcobar/array.rb Secret

Created March 21, 2019 17:49
Show Gist options
  • Save xcobar/35d0c983a68dd4b849744615dd7a5dfa to your computer and use it in GitHub Desktop.
Save xcobar/35d0c983a68dd4b849744615dd7a5dfa to your computer and use it in GitHub Desktop.
countries = ["France", "Germany"]
capitals = ["Paris", "Berlin"]
# How do I get an array like this
["France", "Paris"]
["Germany", "Berlin"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment