ChatGPT specifically is a braindamaged version of GPT-3.5. It is essentially obedience-trained. Lobotomized. It still retains an ability to do logic under the hood, exemplified by ability to evaluate Python, for example: