当前位置:网站首页>The use of recycling ideas
The use of recycling ideas
2022-07-07 09:15:00 【Is winter coming】
I wrote a cycle today , Ridiculed by colleagues , recorded , Who will write like this in the future , Hey .
I wrote it :( Some are not written )
Ideas : Always cycle value , If the condition is met, the cycle is terminated
while Ture:
print(a)
if a == 3:
break
Grammatically speaking , There is no problem , But never do that
The right way of thinking : Cycle only when conditions are met
such as :
while a != 3:
print(a)
边栏推荐
- Mysql database index study notes
- OpenGL 3D graphics rendering
- What are the conditions for applying for NPDP?
- Why is access to the external network prohibited for internal services of the company?
- [istio introduction, architecture, components]
- What is the value of getting a PMP certificate?
- Analysis of Hessian serialization principle
- Mysql database lock learning notes
- 面板显示技术:LCD与OLED
- LeetCode每日一题(2316. Count Unreachable Pairs of Nodes in an Undirected Graph)
猜你喜欢
随机推荐
个人力扣题目分类记录
OpenGL 3D graphics rendering
Two schemes of unit test
PMP experience learning and sharing process
[istio introduction, architecture, components]
Leetcode刷题记录(数组)组合总和、组合总和 II
JVM 内存结构 详细学习笔记(一)
Troublesome problem of image resizing when using typora to edit markdown to upload CSDN
串口實驗——簡單數據收發
RuntimeError: Calculated padded input size per channel: (1 x 1). Kernel size: (5 x 5). Kernel size c
Interview question: general layout and wiring principles of high-speed PCB
Systick滴答定时器
DRF authentication, permissions, and flow restrictions (only for views in DRF)
Skill review of test engineer before interview
UnityShader入门精要个人总结--基础篇(一)
Golang etcdv3 reports an error. The attribute in grpc does not exist
STM32串口寄存器库函数配置方法
Personal deduction topic classification record
PMP Exam details after the release of the new exam outline
2022-06-30 Unity核心8——模型导入








