y = <function <lambda> at 0x0000020D869BC9D0>
x = -1.0
y = <function <lambda> at 0x0000020D8737A040>
x = -0.5
y = <function <lambda> at 0x0000020D869BC9D0>
x = 0.0
y = <function <lambda> at 0x0000020D8737A040>
x = 0.5
y = <function <lambda> at 0x0000020D869BC9D0>
x = 1.0
y = <function <lambda> at 0x0000020D8737A040>
x = 1.5
y = <function <lambda> at 0x0000020D869BC9D0>
x = 2.0
y = <function <lambda> at 0x0000020D8737A040>
x = 2.5
y = <function <lambda> at 0x0000020D869BC9D0>
x = 3.0
y = <function <lambda> at 0x0000020D8737A040>
x = 3.5
y = <function <lambda> at 0x0000020D869BC9D0>
Process finished with exit code 0
from math import sqrt
x0 = float(input('x0 = '))
xk = float(input('xk = '))
dx = float(input('dx = '))
a = float(input('a = '))
b = float(input('b = '))
c = float(input('c = '))
x = x0
while x <= xk:
y = (10 ** -2 * b * c / x + sqrt(a ** 3 * x))
print('x =', x)
print('y =', y)
x += dx
y = (10 ** -2 * b * c / x + sqrt(a ** 3 * x))
ZeroDivisionError: float division by zero
y = 1.7191329922036442
x = -1.0
y = 1.4087924859373686
x = -0.5
y = 1.0107117688026186
N = int(input(1<=N<=9))
arr = []
for num in range(N, 0, -1):
sp = " " * ((N * 2) - 2)
arr.insert(0, f"{num}")
print(sp + " ".join(arr))
* ((N * 2) - 2)