13 lines
241 B
Plaintext
13 lines
241 B
Plaintext
|
#!/usr/bin/env python
|
||
|
# Exercise 12g
|
||
|
# yes command
|
||
|
|
||
|
import argparse
|
||
|
|
||
|
parser = argparse.ArgumentParser()
|
||
|
parser.add_argument("words", nargs="*", type=str, default=["y"])
|
||
|
args = parser.parse_args()
|
||
|
|
||
|
while True:
|
||
|
print(" ".join(args.words))
|