阅读背景:

Python - 将字典打印为带有标题的水平表

来源:互联网 

I have a dictionary:

我有一本字典:

d = {1: ["Spices", math.floor(random.gauss(40, 5))],
    2: ["Other stuff", math.floor(random.gauss(20, 5))],
    3: ["Tea", math.floor(random.gauss(50, 5))],
    10: ["Contraband", math.floor(random.gauss(1000, 5))],
    5: ["Fruit", math.floor(random.gauss(10, 5))],
    6: ["Textiles", math.floor(random.gauss(40, 5))]
}
d = {1: ["Spic



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: