1 2 3 4 5
glossary = {'String:':'A group of words or characters ', "Index number: ": 'The possition a character is in a list or string ', "Loop Structure: ": "executed a set of statements based on a conditions ", "Method:" : "is a premade program built inside python", "Substring:": "A chunk of a string" } #dictonary set up
for key in glossary: #loop set up
print(key, glossary[key]) #prints keys and the values
print("\n") #blank new line