Message from Python discussions
December 2018
— I can not find the information how to solve it without sorting, so I'm here
Https://stackoverflow.com/questions/40535256/new-dict-of-top-n-values-and-keys-from-dictionary-python
— Please can I have python graphic design classes with you?
— List1=[14,2,4,56,7,8,5]
def max_min(list1):
a=list1[0]
b=list1[0]
i=0
while(i < len(list1)):
if(list1[i]>a):
a=list1[i]
if(list1[i]<b):
b=list1[i]
i=i+1
print (a)
print (b)
— Guys who can help , this program should find max and min value in list1
— I am python developer can someone assign some projects on freelancer.com ?
— This a python group, not a freelancer job board
— Max(your_list)
min(your_list)
It's that simple why are you re inventing the wheel???🤔
— But i dont want to use max and min
— I want to use exact algorithm
— There is no spaces in print and ()
— What's stopping you?