<reponame>davidobrien1/Programming-and-Scripting-Exercises

# <NAME>, 2018-02-19
# Taken from example 3.1.3 "Lists"https://docs.python.org/3/tutorial/introduction.html#lists

squares = [1, 4, 9, 16, 25]

print(squares)

print("The element sqaures[0] is:", squares[0])
print("The element sqaures[1] is:", squares[1])
print("The element sqaures[2] is:", squares[2])
print("The element sqaures[3] is:", squares[3])
print("The element sqaures[4] is:", squares[4])


print("The element sqaures[-1] is:", squares[-1])
print("The element sqaures[-2] is:", squares[-2])

words = ["Cow", "eat", "grass"]
print("words is:", words)

mixed = [1, "Cow", 3, 4]
print("mixed is:", mixed)

print("The lenght of mixed is:", len(squares))
print("The lenght of mixed is:", len(words))
print("The lenght of mixed is:", len(mixed))
# <NAME>, 2018-02-19
# Taken from example 3.1.3 "Lists"https://docs.python.org/3/tutorial/introduction.html#lists

squares = [1, 4, 9, 16, 25]

print(squares)

print("The element sqaures[0] is:", squares[0])
print("The element sqaures[1] is:", squares[1])
print("The element sqaures[2] is:", squares[2])
print("The element sqaures[3] is:", squares[3])
print("The element sqaures[4] is:", squares[4])


print("The element sqaures[-1] is:", squares[-1])
print("The element sqaures[-2] is:", squares[-2])

words = ["Cow", "eat", "grass"]
print("words is:", words)

mixed = [1, "Cow", 3, 4]
print("mixed is:", mixed)

print("The lenght of mixed is:", len(squares))
print("The lenght of mixed is:", len(words))
print("The lenght of mixed is:", len(mixed))
# <NAME>, 2018-02-19 # Taken from example 3.1.3 "Lists"https://docs.python.org/3/tutorial/introduction.html#lists