2 votes

Multiline string with format in python, how to declare it in the neatest way possible?

I have a url which I must pass different id by parameters:

I would like it to occupy several lines because it is quite unreadable throughout, how is it possible to do it having the string format inside? Thank you!

HolaDevs.com

HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by:

X