Python Programming Code For Different Advanced Task