PTT
Submit
Submit
选择语言
正體中文
简体中文
PTT
Python
[问题] 字串设定
楼主:
Muhaosic
(Muhaosic)
2016-10-28 11:59:36
假设
N = [1,2,3,4]
S = [4,8,2,5]
我想要的结果是
设定一个参数变成
X = {1:4 ,2:8 ,3:2 ,4:5}
不知道各位前辈有没有人解决过类似的经验
作者:
s860134
(s860134)
2016-10-28 12:22:00
zip,dict
作者:
ckc1ark
(伪物)
2016-10-28 12:36:00
dict(zip(N, S))
楼主:
Muhaosic
(Muhaosic)
2016-10-28 13:00:00
感谢 S大 与C大给的实用建议非常感谢
继续阅读
[问题] django celery问题
BlgAtlfans
[问题] 有支援 thread debug 的 debugger 吗?
ggirls
[问题] mysql资料抓入阵列里
ppoozine
[问题] win10更新后opencv不能用??
processior
Re: [问题] requests 捞回来的 big5 网页转成 utf8
yshihyu
Re: [问题] Eric6 + PyQt4 启动很慢
Dkky
[闲聊] Python新手该学哪个版本
FacetheFaith
[问题]framework library package 的定义?
shuian88
[问题] requests 捞回来的 big5 网页转成 utf8
yshihyu
[问题] Eric6 + PyQt4 启动很慢
Dkky
Links
booklink
Contact Us: admin [ a t ] ucptt.com