When I write the comparison sign > the code doesn’t run like it was adding an empty character.
Your post needs a little more context.
For future reference on creating forum posts.
But could you list the language you are referring to, the link to the course (if applicable), and any relevant code you are working with?
(Be sure to format code correctly with preformatted text)