Python Basics
Python Basics
What is Python?
Python is an interpreted, high-level and general-purpose programming language.
Created by Guido van Rossum and first released in 1991, Python's design philosophy
emphasizes code readability with its notable use of significant whitespace. Its language
constructs and object-oriented approach aim to help programmers write clear, logical
code for small and large-scale projects.
Afterwards, download a text editor to go with it (you can use notepad++ for example
that should be installed if you are on Windows or any other well-known text-editors
such as VS Code or Sublime text).
Right then! Back to Thonny! Thonny, supports different ways of stepping through the
code, step-by-step expression evaluation, detailed visualization of the call stack and a
mode for explaining the concepts of references and heap. This means that it will be
perfect for a beginner!
Continue to the next page to start learning the basics of Python! ->
Python Basics — Applying Variables
Quick Tip: In Python, a variable must be assigned to something, otherwise Python will throw a
‘Not Defined’ error right in your face. We don’t want that do we?
Conclusion
A variable is used to store
information that can later
be accessed and used by
the program. If a variable is
not given any data, Python
says that there is a ‘Not
Defined’ error. There a 6
main data types: Numbers,
Strings, Lists , Tuples, Dictionary’s and Booleans.
Python Basics — Applying Variables Continued