Test the code in different Python versions, to make sure the syntax used works for Python 3.8 and above.