python type for loop code example Example: python type for loop key: str for key in cache: print(key)