Algorithms and Data structure
26 subscribers
81 photos
3 videos
6 files
2 links
Download Telegram
List inclusions

Perhaps somewhere before this you may have already heard the concept of “list comprehensions”. This is a way to fit a for loop, an if block, and an assignment into one line.

Let's start with the simplest example. Let's say we need to square all the elements of the list again.

Yes, this code is definitely shorter than the previous one, but it's still ugly. At first glance, it's hard to tell what the map function does (it takes a function and a list as arguments, and applies the function to each element of the list). Plus we are forced to define a function, which looks pretty messy.

But it turns out that you can write simpler and clearer
@Algorithm_s1 #python
Binary tree in #python @Algorithm_s1
Channel photo updated
Channel name was changed to «Algorithms and Data structure»
Checking full binary tree @Algorithm_s1
Graph STRUCTURE @Algorithm_s1
Django: Файлы миграции

Продолжаем делиться циклом видеоматериалов про Django. В этот раз ты узнаешь, что такое миграции, зачем они нужны. Продемонстрировано создание и применение миграций.

👀Смотреть видео

#видео #django
https://t.me/+T1i5nO0m_h01ZDky
Thanks for the amazing response, always remember to learn from these free courses to upskill yourself ❤️😄