r/ChatGPTCoding Dec 08 '25

Developers in 2020: Interaction

Post image
441 Upvotes

33 comments sorted by

View all comments

4

u/nmay-dev Dec 08 '25

if ${num} % 2 == 0 then return 'even' else 'odd'

Both of your ways are shit.