Python 3 programming tutorial: While Loop

Publicado em: 21 Janeiro 2014
no canal de: sentdex
580,929
5.3k

The two distinctive loops we have in Python 3 logic are the "for loop" and the "while loop." Both of them achieve very similar results, and can almost always be used interchangeably towards a goal. Many times it comes down to programmer preference, or is reliant on efficiency. Generally, the for loop can be more efficient than the while loop, but not always.

The idea of the While loop is:
While something is the case, do the following block of code.

Python 3 Programming tutorial Playlist:    • Why Python 3? Python 2 vs Python 3  

Sample code for this basics series: http://pythonprogramming.net/beginner...

This Python 3.3 programming tutorial covers the while loop within Python.

http://seaofbtc.com
http://sentdex.com
http://hkinsley.com
  / sentdex  

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6


Nesta página do site você pode assistir ao vídeo on-line Python 3 programming tutorial: While Loop duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário sentdex 21 Janeiro 2014, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 580,929 vezes e gostou 5.3 mil espectadores. Boa visualização!