python programs using compound data types