python怎么输出数据集的指标名
导读:python怎么输出数据集的指标名?mapper = dict(zip( ('Tom', 'Joes', 'Ki', 'Tim' , ('Teenage', 'Mutant', 'Ninja', 'Turtles' def getN...
python怎么输出数据集的指标名?
mapper = dict(zip( ('Tom', 'Joes', 'Ki', 'Tim'), ('Teenage', 'Mutant', 'Ninja', 'Turtles') )
) def getName(): while True: name = raw_input("Enter a name: "
) if name in mapper: return name print "got:%s" % mapper.get(getName()) 用Python里的Dictionary
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: python怎么输出数据集的指标名
本文地址: https://pptw.com/jishu/58038.html
