how to use keys() in python code example
Example: keys in python
car = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
# the keys are like variables in dictionary which saves a value
x = car.keys()
print(x)
car = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
# the keys are like variables in dictionary which saves a value
x = car.keys()
print(x)