Items Function In Dictionary Python Methods With Parameters