Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Key - Value
- #Bug - An error in a program that prevents the program from running as expected
- #Function - a piece of code that you can easily call over and over again
- #Loop - the action of doing something over and over again
- programming_dictionary = {
- "Bug": "An error in a program that prevents the program from running as expected",
- "Function": "A piece of code that you can easily call over and over again"
- }
- print(programming_dictionary)
- programming_dictionary = {}
- print(programming_dictionary)
- programming_dictionary["Loop"] = "The action of doing something over and over again"
- programming_dictionary["Bug"] = "An errr in a progrm that prents the progam from unning as pected"
- programming_dictionary["Function"] = "A piece of code that you can easily call over and over again"
- print(programming_dictionary)
- programming_dictionary["Bug"] = "An error in a program that prevents the program from running as expected"
- print(programming_dictionary)
- programming_dictionary["Comment"] = "When you put a '#' in front of a line it comments it out and the program wont run that line of code"
- print(programming_dictionary["Comment"])
- for key in programming_dictionary:
- print(key)
- print(programming_dictionary[key])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement