Tutorial Python untuk bukan pengatur cara/Nyahpepijat: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
Powerabu (bincang | sumb.)
Powerabu (bincang | sumb.)
Baris 148:
Penyataan while secara amnya menunjukkan pada ekspresi, and if it is true they do the next indented block of code, otherwise they skip the next indented block of code.<br>
 
'''Apa yang sepatutnya ia buat sekarang?'''<br>
So what does it do right now?
If number > 1 isadalah true thenkemudia thedua nextbaris twoseterusnya linesakan will be runberjalan.<br>
'''So is number > 1?'''<br>
The last value put into number was 5 and 5 > 1 so yes.
So what is the next line?