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