If you can program it, you clearly understand it, so it's not cheating.

I made a fair few bucks when TI-83s were all the rage because I sold various math programs to other kids, plus I had the transfer cable.