Hi for a project at my university i want to get the top n rated elements of which i get from a website.
I managed to get the ratings and the titles of the elements with beautifulsoup. Now i have two lists: one with the titles and one with the ratings. They look like this: Ratings
[4.4, 3.5, 5.0 , 1.5]
Titles
['Title1','Title2','Title3','Title4']
The rankings order is inline with the title order. How can i merge these two lists to get the top n rated elements?