Frida Kahlo Retrospective Project

Hi Everyone, I’m looking for a review on my Frida Kahlo Retrospective project. I’m currently 36% through the Data and Programming Foundation for AI course, in PA, USA. A fun fact about myself is that I am currently on vacation!!! (don’t worry I haven’t been coding too much)

Thanks!!


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


dates = [1939, 1933, 1946, 1940]


paintings = list(zip(paintings, dates))


print(paintings)


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


a = [“The Broken Column”, 1944]
b = [“The Wounded Deer”, 1946]
c = [“Me and My Doll”, 1937]
paintings.append(a)
paintings.append(b)
paintings.append(c)


print(paintings)


[(‘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]]


len(paintings)

----7----


audio_tour_number = range(1, 8)


print(audio_tour_number)


range(1, 8)


for n in audio_tour_number:
print(n)


1
2
3
4
5
6
7


master_list = list(zip(paintings, 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)]

If you honestly wish to have members comment on your project, at least have the consideration to post it as a code sample so we can see the actual Python code. The above is just a bold face list of stuff that means practically nothing. It’s not hard to learn how to post code in a meaningful way. There are many examples all over the forums. Take a look and see if you cannot repost your code in the manner which best meets with decorum guidelines.

1 Like

Thanks, I will fix this. Sorry

1 Like