I copy pasted the code.. But it is showing wrong

My issue

I did crct… I’m getting error

My code

# Update the code below

n = int(input())
for i in range(1,11):

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
I copy pasted the same code by it is showing error

The issue is ‘spaces’ .
Your output - 5x1=5
Required output - 5 x 1 = 5
Correct the code as - print(f’{n} x {i} = {n*i}')
Meaning of f and {} is {} symbol places the variable as it is not as string. This is called Formatted Strings. It is necessary to use f in the starting.

Also do not copy and paste directly. See and write the same code yourself.