- 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."
- Web前端開發(fā)技術(shù):HTML、CSS、JavaScript(第3版)
- 復(fù)雜軟件設(shè)計(jì)之道:領(lǐng)域驅(qū)動(dòng)設(shè)計(jì)全面解析與實(shí)戰(zhàn)
- Learn Type:Driven Development
- Mastering OpenCV Android Application Programming
- Building Mapping Applications with QGIS
- C語(yǔ)言程序設(shè)計(jì)
- FLL+WRO樂(lè)高機(jī)器人競(jìng)賽教程:機(jī)械、巡線與PID
- Java Web開發(fā)詳解
- Access 2010中文版項(xiàng)目教程
- C# 7.0本質(zhì)論
- Java多線程并發(fā)體系實(shí)戰(zhàn)(微課視頻版)
- 零基礎(chǔ)學(xué)Java(第5版)
- C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)與習(xí)題精解
- Implementing DevOps with Ansible 2
- Git Version Control Cookbook