Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get all the keys of a dictionary in python

#dictionariies
programming = {
    "Bugs": "These are the places of code which dose not let your program run successfully"
    ,"Functions":"This is a block in which you put a peice of code"
    ,"Shell":"This is a place where the code is exicuted"
    }
print(programming["Bugs"])
print(programming["Shell"])
for eliment in programming:
  print(eliments)
Source by xahlee.info #
 
PREVIOUS NEXT
Tagged: #keys #dictionary #python
ADD COMMENT
Topic
Name
3+3 =