Index Ai Academy
Glossary · Phase 0 · Tools

Variable

Also written: variables

A name that holds a value so your program can use it later, like a labeled box.

Try it now

Step forward and watch the variables panel. When spent changes on line 5, remaining stays at 3800 until line 7 recalculates it.

Learn it properly

Variables · Give values names so your program can remember and reuse them. About 20 minutes.

Start this free lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write