Solving a list problem using Python

Published --