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
- True / falseBasicThe with blockWorking with files · Theory and practiceThe with statement
- Write a programBasicSearching a fileWorking with files · Programming challengesReading from a fileThe with statementProcessing a file line by line
- Write a programElementaryNames sorted into a fileWorking with files · Programming challengeslen, sum, min, max and sortedReading from a fileWriting to a fileThe with statement