Python Programming: Lesson 69 - Character Encoding and the Zip Function

Publicado el: 21 noviembre 2021
en el canal de: youmils03
129
0

PLEASE SUBSCRIBE!!!

In the previous lesson (   • Python Programming: Lesson 68 - Hexadecima...  ), we studied hexadecimal numbers in Python. They go to base 16, including the digits abcdef as well as 0123456789 as appearing in the decimal system. In this lesson, we learn about three more standard functions in Python:

1. ord(x) accepts a character and returns the numerical ASCII character code
2. chr(x) accepts a numerical ASCII character code and returns the character
3. zip(x,y) accepts two iterables x and y and yields tuples with corresponding elements from x and y (matching index positions)

0:03 Review of Frozen Dictionaries
2:35 Review of the Callable Function
3:13 Review of JSON
5:34 Example of Frozen Dictionaries
6:32 Example of the Callable Function
7:31 Review of Hex Numbers
9:41 NEW: ASCII Character Encoding
11:35 NEW: ord(x)
13:37 NEW: chr(x), the inverse of ord(x)
14:26 NEW: zip(x,y) Generator

In Java, we can also think about a character data type, with corresponding ASCII values. A similar lesson is provided here:    • Java Programming: Lesson 16 - char Data Type  

The next video is available here:    • Python Programming: Lesson 70 - Pass by Va...  

Thanks for watching, and PLEASE SUBSCRIBE!!!


En esta página del sitio puede ver el video en línea Python Programming: Lesson 69 - Character Encoding and the Zip Function de Duración hora minuto segunda en buena calidad , que subió el usuario youmils03 21 noviembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 129 veces y le gustó 0 a los espectadores. Disfruta viendo!