you forgot the trailing comma after the print "X" and after the print char as mentioned in the instructions.
Oh, okay. Thanks for your help, I really appreciate it.
trailing comma help printing the result in same line,
if you do not put the trailing comma the result will be printed on next line like what you can see in your case.