In python 3.7, I have this very simple script. Why is this throwing a invalid syntax error?
datestr = '2020-06-10'
print(f"C:/folder/{datestr.replace("-", "_")}/temp.csv")
File "<ipython-input-38-95d22e47df04>", line 2
print(f"C:/folder/{datestr.replace("-", "_")}/temp.csv")
^
SyntaxError: invalid syntax