python字典问题?

2025年05月05日 10:02
有3个网友回答
网友(1):

a={3:2,4:5,123:1}

del a[[b for b in a][int(input())]]

print(a)

网友(2):

网友(3):