Python tasks
Every task in one place. Pick a mode, a topic or a concept to practise.
Every task of the course, from quick understanding checks to exam-style problems.
4 tasks
- Predict the outputElementaryWrite, then readWorking with files · Theory and practiceReading from a fileWriting to a fileThe with statement
- Multiple choiceBasicMode "w"Working with files · Theory and practiceWriting to a file
- Predict the outputElementaryAppendingWorking with files · Theory and practiceReading from a fileWriting to a file
- Write a programElementaryNames sorted into a fileWorking with files · Programming challengeslen, sum, min, max and sortedReading from a fileWriting to a fileThe with statement