def yes(x): print(x, end=' ') x = "yes" print(x) for i in range(1, 6): x = input("string?> ") yes(x)