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!!!
Auf dieser Seite können Sie das Online-Video Python Programming: Lesson 69 - Character Encoding and the Zip Function mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer youmils03 21 November 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 129 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!