Get the App
SLTechnology News&Howtos  ›  Development  › 

Example Analysis of while 1 faster than while True in python

Shulou Source: shulou.com Published: 2022-06-01 04:21:48 10月04日 Update

This article mainly introduces the python while 1 faster than while True example analysis, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

While 1 is faster than while True

Def while_1 (): n = 100000 while 1: n-= 1 if n

Tags: Articles faster examples analysis value overall interests reasons variables at the same time more friends knowledge editing industry information information channels non-critical channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Linux Huawei Shulou Information Docker