A - Foundations¶
- Tools and scripts
- Basics
- Strings 1: Introduction
- Download exercises zip
- What to do
- Creating strings
- Printing - the cells
- The empty string
- Printing many strings
- Length of a string
- Printing - escape sequences
- Encodings
- Strings are immutable
- Strings and numbers
- Conversions - from string to number
- Conversions - from number to string
- Formatting strings
- References
- Continue
- Strings 2: Operators
- Strings 3: Methods
- Download exercises zip
- What to do
- Example -
upper
- Exercise - walking
lower
methodcapitalize
methodstrip
methodlstrip
methodrstrip
methodreplace
methodstartswith
methodendswith
methodcount
methodfind
methodrfind
methodisalpha
methodisdigit
methodisupper
andislower
methods- Other exercises
- Continue
- Lists 1: Introduction
- Lists 2: Operators
- Lists 3: Methods
- Tuples
- Sets
- Dictionaries 1: Introduction
- Dictionaries 2: Operators
- Dictionaries 3: Methods
- Control flow 1: if
- Control flow 2: for
- Control flow 3: while
- Sequences and comprehensions
- Download exercises zip
- What to do
- Iterables - lists
- iterables - range
- Materializing a sequence
- reversed
- sorted
- zip
- List comprehensions
- Questions - List comprehensions
- Exercises - list comprehension
- Filtered list comprehensions
- Questions - filtered list comprehensions
- Exercises - filtered list comprehensions
- References
- Matrices: list of lists
- Matrices: Numpy
- Matrices: Numpy images
- Download exercises zip
- Introduction
- Focus
hstack
andvstack
flip
- Writing arrays
- Writing into images
- In a dark integer night
- RGB - Get colorful
- Exercise - Focus - top left
- Exercise - Focus - bottom - left
- Exercise - Focus - bottom - right
- Exercise - Focus - top - right
- Exercise - Look the other way
- Exercise - Upside down world
- Exercise - Shrinking Walls - X
- Exercise - Shrinking Walls - Y
- Exercise - Shrinking World
- Exercise - Pixellate
- Exercise - Feeling Red
- Exercise - Feeling Green
- Exercise - Feeling Blue
- Exercise - No Red
- Exercise - No Green
- Exercise - No Blue
- Exercise - Feeling Gray again
- Exercise - Beyond the limit
- Exercise - Gimme light
- Exercise - When the darkness comes - with a warning
- Exercise - When the darkness comes - without a warning
- Exercise - Fade to black
- Exercise - vertical fade
- Errors and testing
- Commandments