#mathematische Formel umsetzen in Python zu Relationen

1 messages · Page 1 of 1 (latest)

obsidian lance
#

Thanks for your question :clap:, if someone gives you an answer it would be great if you thanked them with a :white_check_mark: in response. This response will earn you both points for special roles on this server.

sacred hedge
#
def quadratische_funktion(x):
    return x**2 + 2*x + 1

x_wert = 3
ergebnis = quadratische_funktion(x_wert)
print(f'Der Funktionswert für x={x_wert} ist {ergebnis}')