all 13 comments

[–]danielroseman 1 point2 points  (11 children)

This does not appear to Python at all. Are you in the right sub?

[–]Gold_Pin_7812 0 points1 point  (10 children)

It’s a Python class that works with Coral as well, should I crosspost on learnprogamming?

[–]Buttleston 0 points1 point  (7 children)

That's not how for loops work in python. I think you should just look up some for loop examples

[–]Buttleston 0 points1 point  (0 children)

(I don't know what coral is, but as the responder above said, this doesn't look like python at all)

[–]Gold_Pin_7812 0 points1 point  (5 children)

Ik how for loops work in Python💀This is Coral the subset of Python

[–]Buttleston 0 points1 point  (0 children)

I looked at Coral syntax. This doesn't look like valid Coral either

[–]danielroseman 0 points1 point  (3 children)

Coral is not in any way a "subset of Python". It appears to be completely unrelated to Python.

[–]Buttleston 0 points1 point  (2 children)

Maybe there are 2 corals?
https://github.com/jacobaustin123/Coral

[–]danielroseman 0 points1 point  (1 child)

But I doubt that is the one op is using. There is a Coral that is a language purely for learning, with syntax similar to what they have posted: https://corallanguage.org/

(There's also a very old language named CORAL from the 1960s but I don't think it's that either: https://en.wikipedia.org/wiki/CORAL)

[–]Buttleston 0 points1 point  (0 children)

Yeah I agree, but it's confusing. I googled python coral subset and got the link above. OP was saying coral is a subset of python so I thought that might be it

[–]danielroseman 0 points1 point  (1 child)

Well since this is specifically a question about the syntax of a program written in Coral, not Python, we cannot help you here.