【发布时间】:2019-09-22 21:45:34
【问题描述】:
使用变量'frame'作为输入,根据列中的数据为每一行打印行
frame = {'kind of pet': ['dogs', 'cats', 'gerbils', 'geese'],
'number of pets': [10, 20, 5, 4]}
我希望输出看起来像
狗 10 猫 20 沙鼠 5 鹅 4
【问题讨论】:
-
你试过什么?您具体需要哪些帮助?
标签: python python-3.x