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

Kandungan dihapus Kandungan ditambah
Powerabu (bincang | sumb.)
Powerabu (bincang | sumb.)
Baris 149:
 
'''Apa yang sepatutnya ia buat sekarang?'''<br>
If number > 1 adalah true kemudiakemudian dua baris seterusnya akan berjalan.<br>
'''So is number > 1?'''<br>
Nilai terakhir dimasukkan nombor The last value put into number wasialah 5 and 5 > 1 so yes.<br>
'''Jadi, apa yg baris seterusnya?'''
So what is the next line?
Since the while was true the next line is: print ".",
What does that line do?
Prints one dot and since the statement ends with a , the next print statement will not be on a different screen line.