# New Page

\# 1a. Dictionary maken en printen  
fruit\_dictionary = {  
 "appel": "apple",  
 "peer": "pear",  
 "mandarijn": "mandarin",  
 "sinaasappel": "orange",  
 "druif": "grape",  
 "banaan": "banana"  
}

print("1a:", fruit\_dictionary)

\# 1b. Print de peer en de sinaasappel  
print("1b:", fruit\_dictionary\["peer"\])  
print("1b:", fruit\_dictionary\["sinaasappel"\])

\# 1c. Print alle keys  
print("1c:", fruit\_dictionary.keys())

\# 1d. Print alle values  
print("1d:", fruit\_dictionary.values())

\# 1e. Print alle items in het formaat: appel -&gt; apple  
print("1e:")  
for key, value in fruit\_dictionary.items():  
 print(f"{key} -&gt; {value}")

\# 1f. Voeg watermeloen toe  
fruit\_dictionary\["watermeloen"\] = "watermelon"  
print("1f:", fruit\_dictionary)

\# 1g. Verwijder de druif  
del fruit\_dictionary\["druif"\]  
print("1g:", fruit\_dictionary)