how to write for loop with .format() code example Example: python for loop #for loop without passing a argument for _ in range(3): print("Hello")