for overs in range(overlimit): for balls_teamA in range(6): balls_teamA = (1 + balls_teamA)