Question: What should the result of this code be ? my _ list = [ ' pear ' , 'orange','pineapple','apple','peach','kiwi','banana' ] my _ other _ list
What should the result of this code be
mylist pear'orange','pineapple','apple','peach','kiwi','banana'
myotherlist mylist
myotherlist.sort
printmylist
printmyotherlist
a
apple'banana','kiwi','orange','peach','pear','pineapple'apple'banana','kiwi','orange','peach','pear','pineapple'
b
None
c
pear'orange','pineapple','apple','peach','kiwi','banana' None
d
pear'orange','pineapple','apple','peach','kiwi','banana'apple'banana','kiwi','orange','peach','pear','pineapple'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
