June 2021
Beginner
432 pages
9h 9m
English
The print() function allows you to easily make any character you can type on the keyboard appear on the screen. However, there are many other characters you may like to display: the hearts, diamonds, clubs, and spades card suits; lines; shaded boxes; arrows; music notes; and so on. You can obtain string values of these characters by passing their numeric code, called a Unicode code point, to the chr() function. Text is stored on computers as a series of numbers, with each character represented by a different number. This appendix contains a list of such code points.
Python’s built-in
Read now
Unlock full access