Dieses Repository enthält Python-Dateien die im Rahmen des Wahlpflichtmoduls "Informationssysteme in der Medizintechnik" (Dozent: Prof. Dr. Oliver Hofmann) erstellt wurden und verwaltet deren Versionskontrolle.
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.

AB1_Aufg2.py 191B

123456789
  1. def x_hoch_y(x, y):
  2. return x**y
  3. #alternativ: return pow(x,y)
  4. print("13 hoch 7 ist: ", x_hoch_y(13,7))
  5. print("2 hoch 9 ist: ", x_hoch_y(2,9))
  6. print("4 hoch 2 ist: ", x_hoch_y(4,2))