У нас вы можете посмотреть бесплатно Python Programming: Lesson 66 - Frozen Dictionaries или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
PLEASE SUBSCRIBE!!! In the previous lesson ( • Python Programming: Lesson 65 - JSON Objects ), we talked about JSON objects. They are strings that wrap Python objects that we can use. Usually we're dealing with dictionaries, but we can also wrap integers, lists and tuples (into JSON array strings) We've already talked about dictionaries and frozen sets Review of dictionaries: • Python Programming: Lesson 56 - Advanced T... Review of frozen sets: • Python Programming: Lesson 57 - Frozen Sets A frozen dictionary is a collection of key-value pairs (dictionary) that is immutable (frozen). We will implement a frozen dictionary, considering: 1. constructor - define a frozen dictionary using a dictionary 2. length - based on dictionary 3. getitem - for square bracket referencing of a key to get a value 4. get - using get method to get a value by passing in a key 5. contains - seeing if a key is in the frozen dictionary 6. containsKey - seeing if a value is in the frozen dictionary 7. add - defines the sum of two frozen dictionaries 8. str - string representation of a frozen dictionary 1:00 Review of exec(x), iter(x), and eval(x) 5:03 Review of Techniques for Matrices 6:23 Review of JSON 10:05 NEW: Implementing a Frozen Dictionary Ready to learn more about frozen dictionaries? We'll review all of this content and talk about a new topic (the callable function) in the next video: • Python Programming: Lesson 67 - The Callab... Thanks for watching, and PLEASE SUBSCRIBE!!!