f-string: unmatched '(' in line with function call
f-string: unmatched '(' in line with function call Question: I’m trying to use f-strings in python to substitute some variables into a string that I’m printing, and I’m getting a syntax error. Here’s my code: print(f"{index+1}. {value[-1].replace("[Gmail]/", ”)}") I only started having the problem after I added the replace. I’ve checked plenty of times and …