it's better at coding for me, and it looks like because it was trained on more data.
i have this problem with a library that i use, and it was trained on python2 version but python3 version is completely different. Python3 versions is relatively new, but out from at leaset 2020 and you would mostly find examples with Python2 version if you googled.
They both produce garbage code in this solution. Claude versions is just 20% less garbage, but still useless.
The code mixes those two, even if i specify i want the python3 version or directly specifying a version.