Conventions used
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in the text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “Python has other statements, such as global
or nonlocal
, which modify the rules for variables in a particular namespace.”
Bold: Indicates a new term, an important word, or words you see on the screen, such as in menus or dialog boxes. For example: “The base case states that the sum of a zero-length sequence is 0. The recursive case states that the sum of a sequence is the first value plus the sum of the rest of the sequence.”
A block of code is set as follows:
print("Hello, World!")
Any command-line input or output is written as follows:
% conda create -n functional3 python=3.10
Warnings or important notes appear like this.
Tips and tricks appear like this.