Last answered:

08 Feb 2022

Posted on:

08 Feb 2022

0

Sierpinski line graph issue

Why do I get a line graph?

image.png
image.png
image.png

1 answers ( 0 marked as helpful)
Instructor
Posted on:

08 Feb 2022

1

Hey Petar,

Thank you for your question!

In your transf_3(p) function, you seem to have put a multiplication sign rather than a plus sign before the 1. Note also that the a1 and b1 lists in Giles' code are not initially empty but store a 0. These lists correspond to a_transfs and b_transfs in your code.

Hope this helps and keep up the good work!

Kind regards,
365 Hristina

Submit an answer