I wish to do this but for a dictionary:
\"My string\".lower()
Is there a built in function or should I use a loop?
In Python 3:
d = dict() d = {k.casefold(): v for k, v in d.items()}