Tutorial Python untuk bukan pengatur cara/Contoh Fungsi Lanjutan: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
Algazel (bincang | sumb.)
Kemas
Aurora (bincang | sumb.)
Baris 253:
<!--Now try replacing the "if" with "while" (you are still typing these out, right?). Now you've managed to turn your computer into a calculator which can't correctly count down from four. In essence, "while" acts as combined "if" and "repeat." Throwing in two recursions makes for some interesting counting.-->
 
{{../Kandungan|Fungsi|Senarai}}
{{Non-Programmer's Tutorial for Python 2.6/Navigation|Defining Functions|Lists}}