Spring Deals - hours only!Up to 70% off on all courses and bundles.-Close
Dictionary basics
Dictionaries in loops and conditional statements
Dictionaries in functions
17. 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.