python 数组倒序 Python数组倒序输出

智创体育 2024-09-21 08:29 1

Python中怎样对数组中的值进行选择性,调换位置的输出。例如:a,b,c,d,e,f.输出成为a,c,f,e.

so you get a list of : a[0] = 1, a[1]=2, a[2]= 3..

Well, without enough details about your problem, no one is able to provide the answer.

Well, same as a array... ( ;) all I can do currently.)

But I guess, you are just confused about how to manipulate the python list.

a = [1,2,3]

版权声明:本文仅代表作者观点,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 v18476291909@163.com,本站将立刻删除

下一篇 :