“Python -Dict im Diktat” Code-Antworten

Python -Dict im Diktat

people = {1: {'name': 'John', 'age': '27', 'sex': 'Male'},
          2: {'name': 'Marie', 'age': '22', 'sex': 'Female'}}

print(people[1]['name'])
print(people[1]['age'])
print(people[1]['sex'])
Cleric Norse Gaming

in Python in Dict Dict

#Dictionary in dictionary:
dict = {'key_1': {'key_2': val}}
Victorious Vulture

Wo sind Dictd -Wörterbücher?

/usr/share/dictd/
Thurinum

Ähnliche Antworten wie “Python -Dict im Diktat”

Fragen ähnlich wie “Python -Dict im Diktat”

Weitere verwandte Antworten zu “Python -Dict im Diktat” auf Python

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen