Find Function In Python Time Complexity, That behavior is common in code with nested loops.