Week 6 ends - Python
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import sys
|
||||
|
||||
if len(sys.argv) != 2:
|
||||
print("Missing command-line argument")
|
||||
sys.exit(1)
|
||||
|
||||
print(f"Hello, {sys.argv[1]}")
|
||||
sys.exit(0)
|
||||
Reference in New Issue
Block a user