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