when you run waterbucket pythe output will look like thiswater bucket puzzleby al sweigart al@inventwithpython com try to get of water into one of these buckets + + + you can( )ill the bucket ( )mpty the bucket ( )our one bucket into another ( )uit select bucket or quit try to get of water into one of these buckets + --snip- |wwwwww |wwwwww |wwwwww |wwwwww |wwwwww+ + how it works the waterinbucket variable stores dictionary that represents the state of the water buckets the keys to this dictionary are the strings ' '' 'and ' (representing the buckets)and their values are integers (representing the liters of water in that bucketlines to use this dictionary to render the buckets and water on the screen the waterdisplay list contains either 'wwwwww(representing wateror (representing airand is passed to the format(string water bucket puzzle