Skip to main content

All Questions

5 votes
1 answer
3k views

Combining f-string with raw string to be used inside regex gives SyntaxError; ValueError or wrong result

I have a string here : s0 = 'Ready1 Origin1 Destination1 Type1 Rate1 Phone1 # Pro1 #' and the following variable being calculated like this : is_head = ...
Arkistarvh Kltzuonstev's user avatar