modified challenge10 python`