June 2019
Beginner to intermediate
770 pages
19h 24m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."
A block of code is set as follows:
def F(n: int) -> int: if n in (0, 1): return 1 else: return F(n-1) + F(n-2)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
def factorial(n: int) -> int: """Compute n! recursively. :param n: an integer >= 0 :returns: n! Because of Python's stack limitation, this won't compute a value larger ...
Read now
Unlock full access