Can you change the element in the list while reversing in Python?

前端 未结 0 993
灰色年华
灰色年华 2020-12-10 13:27

For example I have a list x

x = [\'(A)\',\'(B)\',\'(C)\']

If we reversed() it, it will look like this.

x = [\'(C)\',\'(B)\',\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题