- Home
- Overview
- References
- Installation
- A - Foundations
- Tools and scripts
- Basics
- Download exercises zip
- Jupyter
- Objects
- Variables
- Detect the type of a variable
- Reassign a variable
- Reusing a variable
- Assignments - questions
- Exercise - exchange
- Exercise - cycling
- Changing type during execution
- Multiple commands on the same line
- Multiple initializations
- Exercise - exchange like a ninja
- Names of variables
- Names of variables - questions
- Numerical types
- Integer numbers
- Booleans
- Real numbers
- Decimal numbers
- Challenges
- Challenge - which booleans 1?
- Challenge - which booleans 2?
- Challenge - Triangle area
- Challenge - square area
- Challange - area from input
- Challenge - trapezoid
- Challenge - first n numbers
- challenge - hypotenuse
- Challenge - which integers 1?
- Challenge - which integers 2?
- Challenge - which integers 3?
- Challenge - airport
- Challenge - Holiday trip
- References
- 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
- Download exercises zip
- What to do
- Iteration by element
- Counting with range
- Iterating by index
- Modifying during iteration
- Iterating a set
- Iterating a dictionary
- Dictionary iteration - questions
- Questions - Are they equivalent?
- Are they equivalent ? postin
- Are they equivalent ? cortel
- Are they equivalent ? - gel
- Are they equivalent ? - giri
- Are they equivalent - Found
- Exercise - color of hearts
- Exercise - jewels
- Exercise - powers
- Exercise - flowers
- Exercise - art
- Exercise - stationery stores
- Exercise - legumes
- Exercise - sports
- Modifying a dictionary during iteration
- Exercise - zazb
- Nested
for
break
andcontinue
commands
- Control flow 3: while
- Download exercises zip
- What to do
- Introduction
break
andcontinue
commands- Questions - Are they equivalent?
- Are they equivalent? - BORG
- Are they equivalent? - until 3
- Are they equivalent? - by chance
- Are they equivalent? - until six
- Are they equivalent? - countdown 1
- Are they equivalent? - countdown 2
- Are they equivalent? - sorcery
- Are they equivalent? - ping pong
- Are they equivalent? - zanna
- Are they equivalent? - pasticcio
- Exercises - counters
- Modifying sequences
- Exercises - stack
- References
- 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
- B - Data analysis
- Data formats (CSV, JSON)
- Graph formats
- Download exercises zip
- Introduction
- Matrices
- Visualization examples
- Saving a graph to an image file
- Saving a graph to an dot file
- Minimal graph
- Graph with two nodes example
- Distance matrix
- Boolean matrix example
- Matrix exercises
- Exercise - line
- Exercise - cross
- union
- Exercise - union
- Subgraph
- Exercise - is_subgraph
- Exercise - remove_node
- Exercise - utriang
- Edge difference
- Exercise - ediff
- Exercise - pyramid
- Adjacency lists
- Networkx
- Simple statistics
- Binary relations
- Visualization
- Visualization - The AlgoRythm Opera Challenge
- Pandas analytics
- Pandas analytics - EURES Job Offers
- Pandas analytics challenge - Italian poets
- Index