Telegram Group & Telegram Channel
Lists

Append vs Extend in lists
Если append итерируемый объект добавит как элемент, то extend расширяет его.

Pop vs Remove
Pop - удаляет по индексу и возвращает, remove - удаляет по значению

Что если в sort использовать разные типы данных?
Выдаст TypeError

Sort использует
Tim sort (merge sort and insertion sort)

Как устроен array list?
Динамический массив (3n + 1 расширение)

Как копировать список?
l2 = l1[:]
l2 = l1.copy()
Shallow copy

Чем отличается list и tuple?
Mutable/immutable
Кортежам есть применение в много поточности.



tg-me.com/python_interview/5
Create:
Last Update:

Lists

Append vs Extend in lists
Если append итерируемый объект добавит как элемент, то extend расширяет его.

Pop vs Remove
Pop - удаляет по индексу и возвращает, remove - удаляет по значению

Что если в sort использовать разные типы данных?
Выдаст TypeError

Sort использует
Tim sort (merge sort and insertion sort)

Как устроен array list?
Динамический массив (3n + 1 расширение)

Как копировать список?
l2 = l1[:]
l2 = l1.copy()
Shallow copy

Чем отличается list и tuple?
Mutable/immutable
Кортежам есть применение в много поточности.

BY Python. Собеседование. Книги.


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python_interview/5

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.

That strategy is the acquisition of a value-priced company by a growth company. Using the growth company's higher-priced stock for the acquisition can produce outsized revenue and earnings growth. Even better is the use of cash, particularly in a growth period when financial aggressiveness is accepted and even positively viewed.he key public rationale behind this strategy is synergy - the 1+1=3 view. In many cases, synergy does occur and is valuable. However, in other cases, particularly as the strategy gains popularity, it doesn't. Joining two different organizations, workforces and cultures is a challenge. Simply putting two separate organizations together necessarily creates disruptions and conflicts that can undermine both operations.

telegram from ar


Telegram Python. Собеседование. Книги.
FROM USA