- Python Data Structures and Algorithms
- Benjamin Baka
- 190字
- 2021-07-09 19:44:56
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "This repetitive construct could be a simple while loop or any other kind of loop."
A block of code is set as follows:
def dequeue(self):
if not self.outbound_stack:
while self.inbound_stack:
self.outbound_stack.append(self.inbound_stack.pop())
return self.outbound_stack.pop()
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 dequeue(self):
if not self.outbound_stack:
while self.inbound_stack:
self.outbound_stack.append(self.inbound_stack.pop())
return self.outbound_stack.pop()
Any command-line input or output is written as follows:
% python bubble.py
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Clicking the Next button moves you to the next screen."
- AngularJS Testing Cookbook
- 看透JavaScript:原理、方法與實踐
- 編程數(shù)學
- Python時間序列預測
- C語言程序設(shè)計
- PySide 6/PyQt 6快速開發(fā)與實戰(zhàn)
- OpenGL Data Visualization Cookbook
- Swift 4 Protocol-Oriented Programming(Third Edition)
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- 計算機應用基礎(chǔ)(第二版)
- 3D Printing Designs:Octopus Pencil Holder
- Java Web開發(fā)教程:基于Struts2+Hibernate+Spring
- 零基礎(chǔ)學編程系列(全5冊)
- 零基礎(chǔ)學Java(第5版)
- Mastering PostgreSQL 11(Second Edition)