Here an example
program1.py
n=input("enter any data")
print(n)
Execute it
python3 program1.py "Hello World!"
output:
Hello World!
Here the user don't type any value .The program took value given in commandline as #input() value
So how can I achieve it?