We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

JakubSpunar • 3 months ago

I was wondering why it tells me this:

TypeError: dataclass() got an unexpected keyword argument 'kw_only'
at Answer.py. in <module> on line 18

Since i can run it without error in interpretter

class CheckPoint:
""" Reprezents checkpoint object """
x: int
y: int
radius: int = 600

Looks like the 3.10 python update was not implemented yet in codingame.
Correct me if i'm wrong. Thanks