# right angle increases by 10 right_angle = right_angle + degree_change # once it's greater than 100, reset to 30 if right_angle > max_range: right_angle = min_range