Answers for "dictionarys"

0

dictionarys

>>> prices = {
   'how': 45.23,
   'to': 612.78,
   'do': 205.55,
   'in': 37.20,
   'java': 10.75
}
 
>>> min( prices.values() )
10.75
 
>>> min( prices.keys() )   #or min( prices ). Default is keys().
'do'
Posted by: Guest on May-03-2021

Browse Popular Code Answers by Language