Frida Kahlo Exhibition - BYAGD

It’s my first time sharing my code through CodeAcademy, I appreciate a lot your comments

Task 1

paintings=[‘The Two Fridas’, ‘My Dress Hangs Here’, ‘Tree of Hope’, ‘Self Portrait With Monkeys’]

print(paintings)

[‘The Two Fridas’, ‘My Dress Hangs Here’, ‘Tree of Hope’, ‘Self Portrait With Monkeys’]

Task 2

dates=[1939, 1933, 1946, 1940]

print(dates)

[1939, 1933, 1946, 1940]

Task 3

paintingsdate=list(zip(paintings,dates))

print(paintings)

print(paintingsdate)

[‘The Two Fridas’, ‘My Dress Hangs Here’, ‘Tree of Hope’, ‘Self Portrait With Monkeys’] [(‘The Two Fridas’, 1939), (‘My Dress Hangs Here’, 1933), (‘Tree of Hope’, 1946), (‘Self Portrait With Monkeys’, 1940)]

Task 4

paintingsdate.append((‘The Broken Column’, 1944))

paintingsdate.append((‘The Wounded Deer’, 1946))

paintingsdate.append((‘Me and My Doll’, 1937))

print(paintingsdate)

[(‘The Two Fridas’, 1939), (‘My Dress Hangs Here’, 1933), (‘Tree of Hope’, 1946), (‘Self Portrait With Monkeys’, 1940), (‘The Broken Column’, 1944), (‘The Wounded Deer’, 1946), (‘Me and My Doll’, 1937)]

Task 5

print(str(len(paintingsdate)))

7

Task 6

audio_tour_number=list(range(1,len(paintingsdate)+1))

print(audio_tour_number)

[1, 2, 3, 4, 5, 6, 7]

Task 7

master_list=list(zip(paintingsdate,audio_tour_number))

print(master_list)

[((‘The Two Fridas’, 1939), 1), ((‘My Dress Hangs Here’, 1933), 2), ((‘Tree of Hope’, 1946), 3), ((‘Self Portrait With Monkeys’, 1940), 4), ((‘The Broken Column’, 1944), 5), ((‘The Wounded Deer’, 1946), 6), ((‘Me and My Doll’, 1937), 7)]

Task 8

Print the master_list to the terminal.