Let’s dive into Python’s Map ( ) Function!

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 5

  • @Sui659
    @Sui659 10 часов назад +1

    Amazing videos! I have been following for a long time and you’ve given tutorials so helpful! Keep it up!

  • @misbahsaleem3332
    @misbahsaleem3332 16 часов назад +4

    A quick little tutorial 😊

  • @opeyemioluwagbemiga6454
    @opeyemioluwagbemiga6454 5 часов назад

    Thanks

  • @esphilee
    @esphilee 10 часов назад

    If you are going to convert it into a list, would it be better to do it using list comprehension? Which is faster?

  • @Thomas-dp8eb
    @Thomas-dp8eb 9 часов назад +1

    Wouldn't [len(s) for s in strings] be a lot more pythonic, and in my opinion more readable. But I guess of you have more backgrouin other languages maybe this makes more sense. I know JavaScript has a very similar map() function.