“Fungsi Kunci dalam Python” Kode Jawaban

Fungsi Kunci dalam Python

'''we define a dictionary store which tells us the inventory name and
   the amount of inventory saved in stock'''
store = {"Salt":230,"Flour":540,"Oil":150,"Sugar":210,"Juice":100}
'''the keys function returns us a list of the set keys so we can use them
   to our will'''
keys = store.keys()
print(keys)
Ishwardeep Singh

# kunci di Python

# keys in python

List_of_Students = {"Jim" : "Roll-32"+","+ "Priority-First",
                    "Yeasin": "Roll-33"+","+ "Priority-2nd",}

print(List_of_Students["Yeasin"])
YEASIN ARAFAT

Jawaban yang mirip dengan “Fungsi Kunci dalam Python”

Pertanyaan yang mirip dengan “Fungsi Kunci dalam Python”

Lebih banyak jawaban terkait untuk “Fungsi Kunci dalam Python” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya