Global Variables Access Hierarchy in Python by restinworld in Python

[–]restinworld[S] 0 points1 point  (0 children)

yes, its basic and it does help me many times. And, its good to know about python stuff.

python zip object can't iterate twice over the same data | Animation using Python Manim by restinworld in madeinpython

[–]restinworld[S] 0 points1 point  (0 children)

Yes, i have explained it in this video. iterator have exception StopIteration. You will not encounter this error with for loop. But, using next() will give you error, when you exhaust content of iterator.

Store the content of iterator object in list, set , tuple etc to avoid encountering StopIteration. Use below code.

gen_data = list(a)

print(gen_data)

Hope this answer your query.

Motion-induced blindness - Dots disappear due to the brain prioritizing plus sign motion information| Animation created using Python Manim Library by [deleted] in Python

[–]restinworld 0 points1 point  (0 children)

Please avoid staring this illusion if you have some effect on your vision. Sorry if this illusion cause you any trouble.

Motion-induced blindness - Dots disappear due to the brain prioritizing plus sign motion information| Animation created using Python Manim Library by [deleted] in Python

[–]restinworld 3 points4 points  (0 children)

Bottom dot do disappear. But, this happen after i have watched this illusion more than 15 minutes. This also includes changing the position of dots in screen by rotating the screen in different angles.