Skip to content

Instantly share code, notes, and snippets.

@emerak
Created February 6, 2013 01:00
Show Gist options
  • Save emerak/4719280 to your computer and use it in GitHub Desktop.
Save emerak/4719280 to your computer and use it in GitHub Desktop.
Lists - LearnPython.org
numbers = [1,2,3]
strings = ["hello","world"]
names = ["John", "Eric", "Jessica"]
# write your code here
second_name = names[1]
# this code should write out the filled arrays and the second name in the names list (Eric).
print(numbers)
print(strings)
print("The second name on the names list is %s" % second_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment