Question: Question 1 2 Choose the print statement that generates [ ' a ' , ' d ' ] as the output for my _ list

Question 12
Choose the print statement that generates ['a','d'] as the output for
my_list =['a',?'',?'c',?'d',e',?'f',g']
print(my_list[0:-2:2])
print(my_1ist[0:5:2])
print(my_list[1:-2:2])
print(my_1ist[03])
Question 1 2 Choose the print statement that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!