[Tutor] changing dictionary to lowercase

ADRIAN KELLY kellyadrian at hotmail.com
Thu Oct 27 20:25:21 CEST 2011



Hi all,
is it possible to change a dictionary list to lowercase..without having to retype?
e.g. definitions={"Deprecated": "No longer in use", "Depreciation": "fall in value of an asset"}
 
i have tried definitions=definitions.lower()
 
regards
adrian
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111027/473de2d2/attachment.html>


More information about the Tutor mailing list