Yung code po sa itaas yung given kailangan po dapat maging product niya is yung may bilog po sa pictureAnung sagutan?
what did you mean sagutan po?
Yung code po sa itaas yung given kailangan po dapat maging product niya is yung may bilog po sa picture
d1 = {
"Person1": {
"name": "Eliser",
"hobbies":["a", "b","c"]
},
"Person2":{
"name": "Pogi",
"hobbies":["d", "e","f"]
}
}
# LOOPING
for key, value in d1.items():
print(key)
print("name:", value["name"])
print("hobbies:", "".join(value["hobbies"]))
Maraming salamat poPython:d1 = { "Person1": { "name": "Eliser", "hobbies":["a", "b","c"] }, "Person2":{ "name": "Pogi", "hobbies":["d", "e","f"] } } # LOOPING for key, value in d1.items(): print(key) print("name:", value["name"]) print("hobbies:", "".join(value["hobbies"]))
welcome.Maraming salamat po