So, I just asked ChatGPT to explain LOOCV and then generate code for it. It started with Python but then I asked for several other languages and it perfectly generated code for R, Julia, C and even in assembly.