Kuis

Jelaskan fungsi Dictionery Python

Dipublikasikan pada : 7 Februari 2021.

Save this code in the file mymodule.py

person1 = {
“name”: “John”,
“age”: 36,
“country”: “Norway”
}

import mymodule

 

a = mymodule.person1[“age”]

print(a)

id_IDIndonesian