Created
February 6, 2013 01:00
-
-
Save emerak/4719280 to your computer and use it in GitHub Desktop.
Lists - LearnPython.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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