Data Conversion Function In Python Programming