List Append Method In Python Not Working As Expected In

List Append Method In Python Not Working As Expected In