Message from Python discussions
December 2018
— Ima beginner
So learn python basics first, learn how to use IDE, how to install dependencies and to run your code. Then you can start writing telegram bot
— Why even making it a dictionary when you can use index of a list?
— You're basically making the index key for that dictionary
— This is the task
— And what's the issue you're facing?
— Hello i am new member
— Hello i am new member also
— 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)