当前位置:网站首页>2021-03-16 comp9021 class 9 notes
2021-03-16 comp9021 class 9 notes
2022-06-24 08:23:00 【Purple cloud without dike】
List of articles
- slice function
- python Bring their own debug function
- p: Output information
- help : View help documents
- c: Continue to the next breakpoint
- b: Add Breakpoint
- n: Execution continues until the next line or end of the current function .
- !: Statement
- step: Stepping , Execute the next statement , Or enter the called function .
- return: Carry on , Until the current function returns .
- tbreak: Temporary breakpoint , Automatically delete after one execution .
slice function
Official documents :slice(start, stop[, step])
The first number is the starting point , The second number is the end point , The third number is the step size
- from 1 To 6, Take a point every two times
- The sliding window , And sum up - sliding window
- Find the largest sum and output
python Bring their own debug function
Official information :debugger
Other introductions :breakpoint() function
p: Output information
p a: Output a Value
help : View help documents
h Is shorthand.
View the help document for a command
see p, exit Documents
c: Continue to the next breakpoint
continue
b: Add Breakpoint
b: View the breakpoints currently added with the command
b n: In the n Line add breakpoint
b n, exp: Satisfy exp when , In the n Line add breakpoint
practice : In the 7 Line add breakpoint , Carry on , see i Value .
n: Execution continues until the next line or end of the current function .
stay for Use in circulation n
!: Statement
!a = 4: Direct to variable a The assignment is 4
step: Stepping , Execute the next statement , Or enter the called function .
Abbreviation :s
return: Carry on , Until the current function returns .
Abbreviation :r
tbreak: Temporary breakpoint , Automatically delete after one execution .
边栏推荐
- Industrial computer anti cracking
- 2021-03-16 COMP9021第九节课笔记
- 你还只知道测试金字塔?
- WCF TCP protocol transmission
- Écouter le réseau d'extension SWIFT (source)
- 对于flex:1的详细解释,flex:1
- SQL intra statement operation
- 12-- merge two ordered linked lists
- Chart list Performance Optimization: minimum resource consumption in the visualization area
- Introduction to software engineering - Chapter 2 - feasibility study
猜你喜欢
FPGA的虚拟时钟如何使用?
1279_VMWare Player安装VMWare Tools时VSock安装失败解决
疫情下更合适的开发模式
小样本故障诊断 - 注意力机制代码 - BiGRU代码解析实现
Longhorn installation and use
2021-03-16 COMP9021第九节课笔记
Live broadcast review | detailed explanation of koordinator architecture of cloud native hybrid system (complete ppt attached)
Coordinate transformation of graphic technology
Leetcode 515 find the leetcode path of the maximum [bfs binary tree] heroding in each row
Use of swift basic closure /block (source code)
随机推荐
05-ubuntu安装mysql8
贷款五级分类
Question 3 - MessageBox pop-up box, modify the default background color
WCF TCP protocol transmission
[graduation season] Hello stranger, this is a pink letter
RCNN、Fast-RCNN、Faster-RCNN介绍
"Adobe international certification" about Adobe Photoshop, creating and modifying brush tutorials?
自动化测试的未来趋势
Paper notes: multi label learning dm2l
Atguigu---16-custom instruction
Industrial computer anti cracking
貸款五級分類
transformers PreTrainedTokenizer类
2022 mobile crane driver special operation certificate examination question bank and online simulation examination
Markdown 实现文内链接跳转
疫情下更合适的开发模式
Live broadcast review | detailed explanation of koordinator architecture of cloud native hybrid system (complete ppt attached)
11--无重复字符的最长子串
1279_VMWare Player安装VMWare Tools时VSock安装失败解决
Final review and key points of software process and project management