水小帝吧 关注:23贴子:1,082
  • 1回复贴,共1
d ={"大海":"蓝色", "天空":"灰色","大地":"黑色"}
print(d["大地"],d.get("大地","黄色"))
ss = list(set("htslbht"))
s = sorted(ss)
for i in s:
print(i,end = '')


回复
来自iPhone客户端1楼2020-11-13 11:18
    d = {"zhang":"China", "Jone":"America", "Natan":"Japan"} print(max(d),min(d))


    回复
    来自iPhone客户端2楼2020-11-13 11:21