-1
這是我的代碼示例:如何根據值顯示索引?
budi = {"Name" : "Budi", "Gender" : "Male", "Age" : 18}
ahmad = {"Name" : "Ahmad", "Gender" : "Male", "Age" : 7}
ika = {"Name" : "Ika", "Gender" : "Female", "Age" : 18}
marged = [budi, ahmad, ika]
我想要的結果是這樣,例如基礎上,18歲的:
The oldest participants are: Budi and Ika
你有什麼試過嗎? –
你可以用Python玩更多... – coderredoc