I am rendering a URL by user input. There if user enter a string with two words I want to print the word with + in between
Example
key = input("Enter the product :")
URL = "http://exmaple.com/"
print (URL)
User input: iPhone 11
For the above code, I get a URL as "http://exmaple.com/iphone 11"
But I want to print the URL as "http://exmaple.com/iphone+11"