You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Again, with due respect,
your program will give wrong output unless and until the print function in for loop of the reversed array should be added with end="", or else it will give wrong output.