Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Dictionary basics
Dictionaries in loops and conditional statements
Dictionaries in functions
18. Exercise 1


Great, let's get started with something easy!


You are given a simple English-German dictionary in the form of a Python dictionary.

  • Correct the value for pig: it should be Schwein without the final 'e'. Do not modify it "directly". Refer to the appropriate key, and assign the correct value.
  • Add a new item: guinea pig, which is Meerschweinchen in German.