[Tutor] Use of Python 3 on a Mac
André FOURNERAT
andre at fournerat.fr
Sun Feb 27 15:53:13 EST 2022
Hello,
I use a Mac under OS 10.11.6.
I have downloaded Python
I use a book in French « Apprendre à programmer avec Python 3 » (Learning to program with Python 3).
one of the first exercises should read this
>>> a=20
>>> if (a>100):
… print (« a is more than a hundred »)
… else:
… print (« a is less than a hundred »)
…
but the result is this with Python 3.9.0
-------------- next part --------------
and it is this with Python 3.10.2
-------------- next part --------------
With earlier version, the result is the same.
What could be the appropriate Python version to work on my Mac?
Best regards
André
More information about the Tutor
mailing list