IBM interview question

Coding question about python or c#