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

Pubblicato il: 21 novembre 2021
sul canale di: 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!!!


In questa pagina del sito puoi guardare il video online Python Programming: Lesson 69 - Character Encoding and the Zip Function della durata di ore minuti seconda in buona qualità , che l'utente ha caricato youmils03 21 novembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 129 volte e gli è piaciuto 0 spettatori. Buona visione!