Software Design and Development

Notes

All the software code examples use Python.

Python uses indentation (spaces at the beginning of a line) to show where code blocks are.

These notes are focused on N5 Computing Science so some terms are used differently. Any reference to an array will actually use a list.

Information

Comments

Single line comment.

## This comment is not displayed

Multiline comment.

"""
This comment is not displayed
This comment is not displayed
"""

Display information

# Display text
print("Hello world")

# Display a number
print(3.14)