I would like to know how could I format this string:
"){e<=2}"
This string is inside a function, so I would like to asign the number to a function parameter to change it whenever I want.
I tried:
"){e<={0}}".format(number)
But it is not working, Could anybody give me some advice? Thanks in advance
{{and}}would not be considered as placeholders byformat: stackoverflow.com/questions/5466451/…, so you can write"){{e<={0}}}"instead of"{e<={0}}"