Python: Methoden
Du kennst jetzt Variablen und Kontrollstrukturen. In diesem Teil des Tutorials geht’s um Methoden. Über Methoden Wir wollen uns die Arbeit natürlich so einfach wie möglich machen und uns Tipparbeit ersparen. Nimm einmal an, du möchtest den Flächeninhalt eines Kreises mit dem Radius r berechnen: Ignoriere erstmal die genaue Syntax des print() Kommandos, darauf gehe … Weiterlesen