Question: In python, how do I get the result [ ' RIVER ' , ' f ' ] From x = [ a ,

In python, how do I get the result
['RIVER','f']
From x =["a","b","c", "RIVER", "e","f"] how do you so much about Python? You know a lot, but the answer is still not quite right. This is not a homework question or anything. I am just trying to learn. So, basically, it is very difficult to obtain certain results with that last index number? Well this is what my output was using your method {'F', 'RIVER'}. You came the closest between chatgpt and bard. I refuse to call him G. If this was a homework assignment, I would have gotten a zero. But, you get a thumbs up because you were so close. Thanks anyway!!! I figured it out x[3:6:2].

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 Databases Questions!