a)d = {} b)d = {“john”:40,“peter”:45} c)d = {40:“john”,45:“peter”} d)d =(40:“john” ,45:“50”)
b,c&d。通过指定键和值来创建字典。
b,c&d。通过指定键和值来创建字典。