結果 : write a python program to check if an array is sorted in ascending order