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.

08_magic_numbers.py 170B

123456
  1. # Berechnung einer Kreisfläche
  2. PI = 3.14159
  3. radius = float(input("Bitte den Radius eingeben: "))
  4. area = PI * radius * radius
  5. print("Der Flächeninhalt beträgt", area)