We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d9cc9 commit cdc3bddCopy full SHA for cdc3bdd
1 file changed
implement-cowsay/cow.py
@@ -3,11 +3,15 @@
3
import argparse
4
5
parser = argparse.ArgumentParser(
6
- prog="cow";
7
- description="Makes animals say things";
+ prog="cow",
+ description="Makes animals say things",
8
)
9
10
parser.add_argument("--animal", help="Select an animal to say anything")
11
-parser.add_argument("message", nargs ="+" help="The message that the animal says")
+parser.add_argument("message", nargs ="+", help="The message that the animal says")
12
+
13
+args = parser.parse_args()
14
15
+message = " ".join(args.message)
16
17
-args = parser.parse_args()
0 commit comments