Vorlesung 1 BuK/IIm20/Vorlesung 1 Seidl
Aus ProgrammingWiki
Wiki-Quelltext dieser Seite.
<language>Python</language>
<run id="60564c51b7d64">
import time
x = float(input("Bitte geben Sie eine reelle Zahl ein: "))
def partielle_funktion(x):
if x == 3:
while True:
time.sleep(1)
zahl = 35 / x - 3
return zahl
print(partielle_funktion(x))
</run>