why is my code showing wrong out,i am getting space between the string and all the x’s.
Move all x at the end
Hello @aditi2512201012019,
This is because your code is executing one extra functional call.
I have corrected your code:
Hope, this would help.
Give a like if you are satisfied.