Course Introduction

Welcome!

Two kinds of programming

Pen and paper in pairs

x = 22


def f(y):
    x = y
    z = x + y
    return z


print(f(33))

print(x)

print(y)
from string import ascii_lowercase

A = ascii_lowercase
A
'abcdefghijklmnopqrstuvwxyz'
A[1]

A[0]

A[-1]

A[6]

A[-6]

A[4:8]

A[:8]

A[20:]

A[2:22:4]

Autocorrect

etc

Author: Breanndán Ó Nualláin <o@uva.nl>

Date: 2026-02-10 Tue 16:40