Python tasks
Every task in one place. Pick a mode, a topic or a concept to practise.
Exam-style tasks. Each shows the concepts it needs - review them first if you like.
3 tasks
- Write a programBasicDigit sumGraduation exam preparation · StringsConverting types: int(), float(), str()Counting and summing in a loopLooping over a string
- Write a programElementaryCaesar cipherGraduation exam preparation · StringsInteger division and remainder: // and %Several branches: elifLooping over a stringCharacters and codes: ord() and chr()
- Write a programElementaryPassword checkGraduation exam preparation · StringsLogical operators: and, or, notThe if statementLooping over a stringString methods: upper, find, replace, …