Lesson 12 Python(level 2) all list methods

Publicado em: 02 Janeiro 2024
no canal de: code_way
71
3

Hi, thanks for viewing.

Here's how to install PyCharm and Python:    • Installing Python and PyCharm on macO...  

Here's how to work with Git:    • GitHub UI: Edit and download code wit...  

Python for beginners:    • Lesson 2 Python: Data input (input), ...  

Python level 2:    • Python level 2  

Tasks for better understanding:
Task 1
Create a list called grades with grade values (for example, 5, 3, 4, 2, 5). Remove all low grades (less than or equal to 3) using a loop, then sort the list. Print the updated list.
Task 2
Create 2 lists with several different words. Merge them using a list method. Print each word with its length (number of characters) in the format: "word (length)". Use a for loop for this task.
Task 3
Create a list (for example, like this: ["apple", "grape", "kiwi", "pear", "melon", "banana", "mango"]). Using the method shown in the lesson video, sort the list in ascending order based on the length of words, and then print it to the screen.

Test based on this lesson:
https://docs.google.com/forms/d/e/1FA...


Nesta página do site você pode assistir ao vídeo on-line Lesson 12 Python(level 2) all list methods duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário code_way 02 Janeiro 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 71 vezes e gostou 3 espectadores. Boa visualização!