Skyfield astronomy library not working in Anaconda Prompt

I have installed Anaconda Navigator (version 2.1.1), and Skyfield, but when I try to test what version of Skyfield I have using the code from the Skyfield documentation, I get an error saying the ‘<’ sign was not expected. See screenshot below.

(Skyfield is already installed since running ‘pip install skyfield’ results in several lines saying ‘requirement already satisfied’.

dear T_Turmanian.

Thank you for your contribution to the anaconda community.

The cause is simple, in the current case to view (or check) the version you have to follow these steps:

import skyfiled as sk
if sk.version < (1,24) : print(“Too Old”)

The following is quoted from skyfiled’s

Elegant astronomy for Python
Most users will use Skyfield by importing skyfield.api and using the
functions and classes there.
the source code, as well as the!
VERSION = 1, 45
version = ‘.’.join(map(str, VERSION))

Best regards.