Python Forum
list, map and put of the Queue in the Tree Data Structure
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
list, map and put of the Queue in the Tree Data Structure
#2
Hello,
This for explain:
class Example():
    def __init__(self):
        pass
    def mymethod(self, name):
        return f"Hello {name}"
ex = Example()
out = list(map(ex.mymethod, ['me', 'you']))
print(out)
I speak Python but I don't speak English (I just read it a little). If I express myself badly, please blame the translator^^.
Reply


Messages In This Thread
RE: list, map and put of the Queue in the Tree Data Structure - by Coricoco_fr - Mar-30-2022, 03:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  A data structure akulamartin 5 5,270 Nov-11-2016, 07:22 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020