Sorry if this has been answered many times before however I have searched the discourse and google and not found a definitive answer. I am new to coding and have chosen to learn Python. I have just discovered (after 100+ levels) of CombatCode that Python 2 is outdated and no longer supported.
Whilst I expect that CombatCode is P3 is I want to clarify just in case.
Thanks so much!
Hey @BigJozzie great question. I’m pretty sure based on what you’ve said that CodeCombat’s Python version is P3, however I’m not completely sure. You could ask @nick or @Chaboi_3000 they would more than likely know.
I hope this helps!
@BigJozzie luke is right, CodeCombat’s python has been recently updated to Python 3. Hope this helps.
It seems like a few users are misunderstanding. To be clear, CodeCombat currently runs on Python 2.7.
It previously runs python 3 for me for some reason maybe 2.7 is the same?
Little test in forest flower grove
see the output in the console
Almost the same thing in рythоntutоr.cоm
see a topic about this CoCo python feature:hero.findEnemies() Quiz
What kind of python is CoCo python I don’t know
Our Software Engineer mentioned we never made the upgrade to Python 3. Maybe we did? The CoCo python comes from JS, so there’s some weird bits to it.
okaynthanks this is now solved @Chaboi_3000
You can check out the source code for Filbert. (JS parser of PY)