courses=['History', 'Maths', 'ML', 'Physics', 'CompSci']

nums = [5,2,1,3,4]

courses.sort(reverse=True)
nums.sort(reverse=True)
# sort method sort the elements based on natural order ascending order
# sort method changes the original list

print(courses)
print(nums)

'''
output
['Physics', 'Maths', 'ML', 'History', 'CompSci']
[5, 4, 3, 2, 1]
'''
