class Solution:
def high3(self,dic1):
list1=[]
for value in dic1.values():
list1.append(value)
a=sorted(list1,reverse=True)[:3]
return(a)
kk=Solution()
if __name__=="__main__":
print(kk.high3({"a":6,"l":8,"o":5,"i":2,"t":4}))
I wrote about the solutions to some problems I found from programming and data analytics. They may help you on your work. Thank you.
R is not a simple programming language, and it does better on reading excel files than python . tried to read excel files to python and R. i...
No comments:
Post a Comment