Use ChatGPT to learn ternary operator - Edindx