n = int(input())
for i in range(1,11):
m = n*i
print(f"{n} * {i} = {m}")
I am trying to run this code but I am getting the error message below.
File "main.py", line 4
print(f"{n} * {i} = {m}")
^
SyntaxError: invalid syntax
...Program finished with exit code 1
Press ENTER to exit console.
I am using online compiler - onlinegdb python