Skip to main content
Print

Syntax

Indentation

Indentation refers to the spaces at the beginning of a code line. Where in other programming languages the indentation in code is for readability only, the indentation in Geko is very important, just like Python. Geko uses indentation to indicate a block of code.

Python is used for nearly 99% of Geko.

Variables

In Geko, a variable is created when you assign a value to it, just like Python:

Comments

Geko has commenting capability for the purpose of in-code documentation. Comments start with a #, and Geko will render the rest of the line as a comment:

Leave a Reply

Table of Contents