does anyone know how to separate this string and put it in base_url in a different position like this:
movie = ("Burning 2018")
base_url = ("http://www.omdbapi.com/?t="+(Burning)+"&y="+(2018)+"&apikey=")
This is my code:
movie = ("Burning 2018")
base_url = ("http://www.omdbapi.com/?t="+Burning+"&y="+2018+"&apikey=")
r = (requests.get(base_url))
b = r.json()
print(b)
a = (b + c)/d. They don't have any negative effect though, other than making the code harder to read.