for key, value in dictionary:
        print(key)
      Python language logo

      Iterate over dictionary values

      Python public recipes

      The code prints out the keys and values of the dictionary.

      Shortcut: dict.loop

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.