Consider a square ABCD having length l and breadth. Now start folding the sides AB and AC so that the figure becomes something like this $$$$
All the vertical and horizontal folds/stairs are equal in length.
The perimeter of the figure is equal to the the perimeter of the square.
As we increase the number of divisions, the length of each fold/stair decreases. Let the number of stairs/folds be n. As $n\rightarrow\infty$ the figure becomes a right angled isosceles triangle BCD. The perimeter of triangle BCD should be equal to the perimeter of square ABCD since as we increase the number of folds/stairs the perimeter remains the same.
Can anyone please correct me where I have gone wrong?