Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get method in python

car = {
  "brand": "Tata",
  "model": "Nexon",
  "year": 2017
}

x = car.get("model")

print(x)
 
PREVIOUS NEXT
Tagged: #method #python
ADD COMMENT
Topic
Name
5+6 =