Beispiele und Musterlösungen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

squares.py 117B

12345678
  1. # Ausgabe von Quadratzahlen
  2. MAX_NUM = 10
  3. i = 0
  4. while i <= MAX_NUM:
  5. print(f"{i} quadriert ist {i*i}")
  6. i += 1