Does Python Version Matter When Practicing Past Problems on USACO website

Hi,

Today I tried USACO 2020 January contest Bronze Word Processing Question using Python. Currently, I have Python 3.9 installed for one of my classes so not the supported ones by USACO.
Though, I tried practicing using Python then submitting to see if all my test cases pass on USACO website. Though, it kept on telling me my answer is wrong when it exactly matches what they want. Can I know if it has something to do with not using the right Python version or some other reason. Thanks. See below:

Incorrect answer on sample input case – details below

Your output file word.out:
hello my
name is
Bessie
and this
is my
essay

The correct answer:
hello my
name is
Bessie
and this
is my
essay

You might have an extra newline or be missing a newline. I can’t know for sure.