If list=['suzuki', 'subaru', 'honda', 'maruti'] , what will be the output of print(list[3]), after running the function : list.sort(reverse=True) ?
Answers
Answered by
0
The output is maruti and None.
Explanation:
The list is declared that holds words and in the next step, it uses the print method that prints lits third address value that is "maruti".
In the next step, it uses the sort method and inside the parameter, it checks its reverse value, which is equal to true.
In this, the reverse variable is not defined that's why it will print none as a message.
Learn more:
python: https://brainly.in/question/8049240
Answered by
3
Answer:
Honda
Explanation:
this is your answer please give me a point please make me brainless I hope I can help you
Similar questions