- 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."
- JavaScript Unlocked
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- 人人都懂設(shè)計(jì)模式:從生活中領(lǐng)悟設(shè)計(jì)模式(Python實(shí)現(xiàn))
- jQuery開(kāi)發(fā)基礎(chǔ)教程
- Python機(jī)器學(xué)習(xí)算法與實(shí)戰(zhàn)
- Vue.js 2 Web Development Projects
- 機(jī)器學(xué)習(xí)微積分一本通(Python版)
- Scala編程(第5版)
- Mastering Apache Storm
- Swift High Performance
- Clojure Web Development Essentials
- 絕密原型檔案:看看專業(yè)產(chǎn)品經(jīng)理的原型是什么樣
- Visual FoxPro程序設(shè)計(jì)實(shí)驗(yàn)教程
- 鋁合金陽(yáng)極氧化與表面處理技術(shù)(第三版)
- Visual C++ 開(kāi)發(fā)從入門(mén)到精通