t418.py 256 B

1234567891011121314
  1. # lists
  2. print "\nlists"
  3. print min([1,2,3,4])
  4. print min([2,1],[1,2],[1,1],[1,1,0])
  5. # tuples
  6. print "\ntuples"
  7. print min((1,2,3,4))
  8. print min((2,1),(1,2),(1,1),(1,1,0))
  9. # dictionaries
  10. print "\ndictionaries"
  11. print min({1:2,3:4,5:6})
  12. print min({1:6,3:4,5:2})