Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб How to modify the elements in a Python list | Python Crash Course - Exercise 3.4 & 3.5 в хорошем качестве

How to modify the elements in a Python list | Python Crash Course - Exercise 3.4 & 3.5 3 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



How to modify the elements in a Python list | Python Crash Course - Exercise 3.4 & 3.5

In this tutorial, you will learn how to modify the elements in a Python list in a few different ways. We'll start by covering the basic syntax of list manipulation and show you how to change, add, and remove elements. We'll also cover the methods that can be used to modify lists, such as append(), insert(), remove() and extend(). This tutorial will be helpful for those who are new to Python and want to gain more knowledge about the language or want to practice the concepts of Python Crash Course - Exercise 3.4 & 3.5. Don't forget to subscribe to our channel for more helpful Python programming tutorials! We look at exercises 3.4 and 3.5 from the book Python Crash Course by Eric Matthes. 3-4. Guest List: If you could invite anyone, living or deceased, to dinner, who would you invite? Make a list that includes at least three people you’d like to invite to dinner. Then use your list to print a message to each person, inviting them to dinner. 3-5. Changing Guest List: You just heard that one of your guests can’t make the dinner, so you need to send out a new set of invitations. You’ll have to think of someone else to invite. • Start with your program from Exercise 3-4. Add a print() call at the end of your program stating the name of the guest who can’t make it. • Modify your list, replacing the name of the guest who can’t make it with the name of the new person you are inviting. • Print a second set of invitation messages, one for each person who is still in your list

Comments