Python tasks
Every task in one place. Pick a mode, a topic or a concept to practise.
Programming tasks with tests, from easier to demanding.
3 tasks
- Write a programBasicThe midpoint of a segmentTuples · Programming challengesTuples and immutabilityUnpacking: a, b = …Returning several values
- Write a programElementaryThe warmest and the coldest townTuples · Programming challengesLooping over a listTuples and immutabilityUnpacking: a, b = …
- Write a programIntermediateA rectangle around pointsTuples · Programming challengesUnpacking: a, b = …Returning several valuesFinding the minimum and maximum