Lernpfad

Python-Übungsaufgaben

Klassische Einsteigeraufgaben zu Zahlen, Text und Listen, jeweils gefolgt von einer Challenge zum selbst Lösen.

15 Lektionen · 26 Challenges

Pfad starten →

1 Zahlen und Ziffern 6 Lektionen

  1. Lektion 2 Challenges Sum the Digits of a Number Add every decimal digit in an integer.
  2. Lektion 2 Challenges Reverse an Integer in Python Reverse the decimal digits of an integer.
  3. Lektion 2 Challenges Check an Armstrong Number Check whether a number equals the sum of its powered digits.
  4. Lektion 1 Challenge Check a Perfect Number Check whether proper divisors add up to the number.
  5. Lektion 2 Challenges Check a Leap Year in Python Apply Gregorian leap-year rules.
  6. Lektion 3 Challenges Primzahl in Python prüfen Prüfe effizient, ob eine ganze Zahl eine Primzahl ist.

2 Textaufgaben 5 Lektionen

  1. Lektion 2 Challenges String in Python umkehren Kehre die Zeichenfolge mit Python-Slicing um.
  2. Lektion 2 Challenges Count Vowels in Python Count vowels in a line of text.
  3. Lektion 2 Challenges Check Anagrams in Python Check whether two texts contain the same letters.
  4. Lektion 1 Challenge Check Password Strength Validate several basic password requirements.
  5. Lektion 1 Challenge Caesar Cipher in Python Shift lowercase letters by a fixed amount.

3 Listenaufgaben 4 Lektionen

  1. Lektion 2 Challenges Find the Second Largest Value Find the second distinct largest list value.
  2. Lektion 1 Challenge Remove Duplicate List Values Remove duplicates while preserving their first-seen order.
  3. Lektion 2 Challenges Flatten a Nested List Flatten a one-level nested list.
  4. Lektion 1 Challenge Split a List into Chunks Divide a list into fixed-size groups.