Discuss / Python / 疑问

疑问

Topic source

{'0': 0, '1': 1, '2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9}[s] 这个是什么用法

weaming

#2 Created at ... [Delete] [Delete and Lock User]

同问!!

我也想问问

可以理解为dict[key],因为map函数可以对字符串进行遍历


  • 1

Reply