Regarding line 56

in line 56 of the code,what is the reason behind writing the print after swap?

hey @kumarranjan
Array remains Same ,
The swap function has only swapped local variables