uaername and password program from dict in python

i am a newbie , and i have to give a program from dictionary in python in which we have multiple users . a simple username and password login program . plz explain it too .