Solving Assignment-2 | Python Programming 2022 | Open Knowledge Share смотреть онлайн
This video is part of the Series Python Programming 2022.
In this Video, we solve the assignment-2, that contains the following
1. Write a program to store the following data in dictionaries
* Euqipment Name - Brand - Watt
* Fan - Havells - 200 Watts
* Tubelight - Crompton - 100 Watts
* Stove - Prestige - None
* Refridgerator - LG - 750 Watts
* Washing Machine - Bosch - 1000 Watts
* Dish Washer - Bosch - 1200 Watts
Hint: Dictonary can be accesed by the quipment name i.e., a['Fan'] = ['Havells', 200]
{'Fan': ['Havells', 200], 'Tubelight': ["Crompton", 100].......}
a) Print the total sum of watts of equipment in house
b) Find the Equipment/s having highest wattage
c) Add new equipment
Mixture - Prestige - 350 Watts
d) Change Brand of Tubelight to "Phillip" in the dictionary
2. Use the try-except and solve the error while running program.py
3. Use Map function to compute squareroot of each element in the list [10, 20, 30, 40, 2, 3, 100] and then filter the elemnts having square root value which are greater than 5
4. Write a Function to add each element in two lists and return the output. Function name should be add_two_lists
Hint: if we call
input_list1 = [10, 20, 30]
input_list2 = [50, 60, 70]
add_two_lists(input_list1, input_list2) should return [60, 80, 100]
b) The Program should handle the error when different size of input_lists are given in above function
Hint: if input_list1 = [10, 20, 30], input_list2 = [50], Then it would give error. The function should handle this kind of error.
In case of any doubts, Please post your questions in our Course Discussion Group
Python - Classes and Discussion (https://t.me/+mRXIH-0hwWdhZThl)
Our Telegram Channel: OpenKnowledgeShare (https://t.me/openknowledgeshare)
This Playlist: Python Programming 2022 (https://www.youtube.com/playlist?list=PLn5PAhxpfD4s64Pjasm4apZOVijlkFyV-)
Our Youtube Channel: @Open Knowledge Share
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Solving Assignment-2 | Python Programming 2022 | Open Knowledge Share» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.