結果 : reverse function in python using for loop