Message from Python discussions

December 2018

— #py list1=[14,2,4,56,7,8,5]
def top(list1):
big = list1[0]
final = []
i = 1
c = 0
while(i<len(list1)):
if(big<list1[i]):
big = list1[i]
i = i + 1
if(c<5):
if(i==len(list1)-1):
final[c] = big
list1[i]=0
i=0
c = c + 1
print(final)

Message permanent page

— 

Hey guys i want help, what should i do if i want to use the time module by an hour instead of a second?

— Who can help me , it should find 5 greatest values

— Sort the list and slice it

— Without sorting

— Good luck in your pursuit.

— Help plz

— What?

— Fix your bugs. Or use a better strategy.

— Time.houre

— Why it warned me

— Got it