Consecutive Subsequences Solution In Python Hello