+ 2

Read the description as the question is very large and can't be written here....

Election is a dictionary where key: value pairs are in form of name: votes received. Write a program that sorts 2 lists that stores sorted data. List A[i] will contain names of candidates and list B[i] contain votes. Print name with votes in descending order.

20th Nov 2019, 1:43 PM
Ayush Tripathi
Ayush Tripathi - avatar
1 Odpowiedź
0
Just explain me what I've to do.... On the basis of what I've understood, I've made this code https://code.sololearn.com/cnQC4vgljGx5/?ref=app
20th Nov 2019, 2:44 PM
Ayush Tripathi
Ayush Tripathi - avatar