Set Default Method In Dictionary Python For Loop