Use python format

I think the use of %s is deprecated. You should use .format() instead

https://pyformat.info/

https://stackoverflow.com/q/13451989