How To Use Items Function In Python