A - Foundations
A1 Data Types
Basics
- Integers
- 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
- Continue
- Booleans
- Download exercises zip
- Boolean operators
- Questions with costants
- Questions with variables
- De Morgan
- Conversion
- Questions - what is a boolean?
- Evaluation order
- Evaluation errors
- Comparison operators
- Joining comparisons
- Exercise - The Lawnmower 1
- Exercise - The Lawnmower 2
- Exercise - The Lawnmower 3
- Exercise - The Lawnmower 4
- Exercise - The Lava Temple
- Exercise - The Tower of Gradius I
- Exercise - The Pipe Jump
- Exercise - The Tower of Gradius II
- Continue
- Floats
- Challenges
Strings
- Intro
- 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
- Continue
- Operators
- Basic methods
- Search methods
- Challenges
Lists
- Intro
- Operators
- Basic methods
- Search methods
- Challenges
Tuples
Sets
Dictionaries
A2 Control Flow
If command
For loops
- Intro
- Iterating strings
- Iterating lists
- Iterating tuples
- Iterating sets
- Iterating dictionaries
- Nested fors
- Challenges
While loops
- Intro
- Download exercises zip
- What to do
- Counting with a while
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
- Searching a sequence
- Modifying sequences
- Exercises - stack
- Continue
- Challenges
Sequences
- Intro
- 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
- Exercise - Data science
- Continue
- Challenges
A3 Basic Algorithms
Functions, error handling and testing
- Intro
- Error handling and testing
- Functions with strings
- Functions with lists
- Functions with tuples
- Functions with sets
Matrices of lists
- Intro
- More exercises
- Download exercises zip
- What to do
- Exercise - diag
- Exercise - anti_diag
- Exercise - is_utriang
- Exercise - stitch_left_mod
- Exercise - transpose_1
- Exercise - transpose_2
- Exercise - cirpillino
- Exercise - flag
- Exercise - avoid_diag
- Exercise - no_diag
- Exercise - no_anti_diag
- Exercise - repcol
- Exercise - matinc
- Exercise - flip
- Exercise - wall
- Exercise - sortlast
- Exercise - skyscraper
- Exercise - school lab
- Exercise - dump
- Esercizio - toepliz
- Exercise - matrix multiplication
- Exercise - check_nqueen
- Continue
- Challenges
Mixed structures
Numpy matrices
- Intro
- Exercises
- Download exercises zip
- Introduction
- Exercise - frameslices
- Exercise - framefill
- Exercise - avg_rows
- Exercise - matrot
- Exercise - odd
- Exercise - doublealt
- Exercise - chessboard
- Exercise - altsum
- Exercise - avg_half
- Exercise - matxarr
- Exercise - colgap
- Exercise - substmax
- Exercise - quadrants
- Exercise - downup
- Exercise - stairsteps
- Exercise - vertstairs
- Exercise - comprescol
- Exercise - revtriang
- Exercise - walkas
- Exercise - walkaz
- Continue
- References
B - Data Analysis
- Data formats
- Visualization
- Intro
- Challenges
- 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
- Pandas
- Intro
- Advanded operations
- Challenges
- Download exercises
- Load the dataset
- Tell me more
- Getting in shape
- 10 rows
- Born in Verona
- How many people in Verona
- Python is everywhere
- Verona after 1500
- First Antonio
- Some Antonio
- Cesares during 1800
- The old ones
- Cities of poets
- Most duplicated poets
- All duplicated poets
- Northern poets
- Papers please
- Unknown poets
- Better unknown poets
- Relational data
C - Applications
D - Projects
- Text data
- Tabular data
- Relational data