python solved