esoel.bsky.social
A tired 30 yr old.
👤 Joined on 02 March 2025
Followers
Following
Total Posts
@vmorales121.bsky.social@vmorales121.bsky.social → @esoel.bsky.socialIT’S HAPPENING! The original theatrical version of Star Wars is coming to theaters in 2027: youtu.be/qfXvdFcvhNY?...
Show PostThou shalt release the full, unredacted Trump MRI.
Show PostIf you removed the for loop, the answer would be [2, 3, 4]. If you wanted to iterate and print afterward, you'd need to convert it to a list first with res = list(map(lambda x: x + 1, nums))
Show PostC. map() returns an iterator in Python 3, not a list. When you iterate through res with the for i in res: loop, you consume the iterator entirely. By the time you call print(list(res)), the iterator is exhausted and has nothing left to yield.
Show Post