From cc7b16e6b069d83b09727de491e54a1cf4c63266 Mon Sep 17 00:00:00 2001 From: Sven Riwoldt Date: Sat, 3 Jan 2026 15:47:52 +0100 Subject: [PATCH] Print und Leerzeile --- Mandelbrot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mandelbrot.py b/Mandelbrot.py index 3fd3f1e..16eb106 100644 --- a/Mandelbrot.py +++ b/Mandelbrot.py @@ -8,8 +8,9 @@ def mandelbrot (c, max_iter): z = z*z + c return max_iter -width = 800 -height = 600 +width = 600 +height = 800 + img = Image.new('RGB', (width, height)) # die komplexe Ebene definieren @@ -23,3 +24,4 @@ for x in range(width): c = complex(real, imag) print ("x-> ", x, " y-> ", y, " -> ",c) +