Google on Friday announced its AI chatbot Bard can now help developers write and debug code in more than 20 programming languages including C++, Java and Python. Bard can also explain a piece of code to developers, Google said. However, the company warned that Bard can sometimes give "working code that doesn't produce the expected output".