How To Print Loop Output In One Line Python But In Reverse Order