配列を含むこのpython辞書「mydict」を持っています。これは次のようになります。
mydict = dict(
one=['foo', 'bar', 'foobar', 'barfoo', 'example'],
two=['bar', 'example', 'foobar'],
three=['foo', 'example'])
「example」をすべて「someotherword」に置き換えたいと思います。
私はすでにそれを行ういくつかの方法を考えることができますが、これを達成するための最も「pythonic」な方法はありますか?