ChatGPT can write code and pseudo codes in given programming language. In mathematics, it's not very good yet but will improve in future. Not too bad for creative writing either. It used to write erotica as well but they banned it after it