Chat BotsChatGPTPython

Can OpenAI ChatGPT, Google Bard, and Bing AI Chat Write Code (Part 2)

I was curious to know if the chat bots can write code as well as debug code. So, about two weeks ago I put OpenAI ChatGPT, Google Bard, and Microsoft Bing AI Chat to the test. The question I asked:

“Write a recursive function in Python that compares two lists of integers and returns the list that has the least total gap between its elements.”

The results was that Google Bard failed to write the code at all.

Yesterday, April 21, 2023, Google announced that Bard is able to help write software code now. Here’s the link to the news: https://www.ksl.com/article/50626668/…

So, I put it to the test again. Check out the result in this video.

Verified by MonsterInsights