sorted() and reversed() : Reversed : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Reversed »

 

sorted() and reversed()


s = ['They', 'stamp', 'them', 'when', "they're"'small']
for t in reversed(s):
  print t,
sorted(s)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» Reversed