Is there a better way to print set of variable in python3 ?
In PHP I useally did something like this:
echo "http://$username:$password@$server:$port"
But in python 3 it looks very ugly and longer to type with all those +'s
print('http://'+username+':'+password+'@'+server+':'+port)
Is there something like this in python like "$" symbol ? Thank you.