This is an old revision of the document!
Coding Basics
TO a large extent this will depend on what language is introduced first.
At times I have used CBM BASIC, PHP, Python or other languages to teach. The language iself is not so important because all the basic concepts are going to be the same. Whichever language I use, I will aim to also provide a python version as Python is the language I currently teach in. The reasons for that are diverse, as Python is not my first choice. But it is great for beginners.
Example Python Code ex1.py
a = 1 b = 2 c = a + b if c >= a: print("C is bigger than A.") else: print("A is bigger than C.")
Reccomended Environment
You can run python in the browser at websites such as:
You can of course also use the shell and an editor like nano.
However, since PyCharm is free and runs on Linux, Mac and Windows, you should use that. It's good.