Practice Python programming with some challenges