Hello Everyone,
I am 33% threw the BI Data Intelligence career path. I have completed the Frida Kahlo off platform project. I am hoping to find a partner to review my code, and I am happy to review yours.
I would appreciate feedback on the following code:
#Creating two list first paintings then the dates they were made
paintings = [‘The Two Fridas’, ‘My Dress Hangs Here’, ‘Tree of Hope’, ‘Self Portrait With Monkeys’]
dates = [1939, 1933, 1946, 1940]
zip together both the paintings and their dates
paintings_and_dates = list(zip(paintings, dates))
#print new zipped 2d list
print(paintings_and_dates)
append zipped(paintings_and_dates) to contain last minute additions
new_painting1 = [“The Broken Column”, 1944]
new_painting2 = [“The Wounded Deer”, 1946]
new_painting3 = [“Me and My Doll”, 1937]
paintings_and_dates.append(new_painting1)
paintings_and_dates.append(new_painting2)
paintings_and_dates.append(new_painting3)
print(paintings_and_dates)
find out the length of zipped foler
len(paintings_and_dates)
create identification numbers using range method
audio_tour_number = list(range(1,8))
print(audio_tour_number)
#combine paintings and tour number to create master list
master_list = list(zip(audio_tour_number, paintings_and_dates))
print(master_list)
len(master_list)
happy coding!