URL = input("Plz enter you Url")
import os
os.system("youtube-dl -f 95 -g **URL**")
I asked user for a url and I want to use the provided url on line 3
Use string formatting:
URL = input("Plz enter you Url")
import os
os.system(f"youtube-dl -f 95 -g {URL}")
You can use .format in python
so
URL = input("Plz enter you Url")
import os
os.system("youtube-dl -f 95 -g {}".format(URL))
f strings
os.system(f"youtube-dl -f 95 -g {URL}")