d = {0:10, 1:20}  
print(d)  
d.update({2:30})  
print(d)

 

相关文章:

  • 2021-11-08
  • 2022-01-08
  • 2021-07-29
  • 2021-06-05
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2021-11-19
  • 2022-03-07
  • 2021-06-25
相关资源
相似解决方案