Sample programs used for the Python training I had conducted at CIT, Gubbi, Bangalore.