in the 1 st question how to sort in reverse order
Sort kese krna h
Hey @rohit.chandekar786, to sort a list in reverse order, you can do something like this :
numbers = [1, 3, 4, 2]
# Sorting list of Integers in descending
numbers.sort(reverse = True)
print(numbers)
I hope this clears your doubt !
Happy Learning !
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.