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!!!
На этой странице сайта вы можете посмотреть видео онлайн Python Programming: Lesson 69 - Character Encoding and the Zip Function длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь youmils03 21 Ноябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 129 раз и оно понравилось 0 зрителям. Приятного просмотра!