Tutorial Python untuk bukan pengatur cara/Dendam String: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
Aurora (bincang | sumb.)
terjemah sikit
Aurora (bincang | sumb.)
Baris 273:
All these slicing operations work with lists as well. In that sense strings are just a special case of lists, where the list elements are single characters. Just remember the concept of ''clipping places'', and the indexes for slicing things will get a lot less confusing.
 
=== ExamplesContoh ===
<source lang="python">
# This program requires an excellent understanding of decimal numbers
Baris 319:
 
{{../Kandungan|Tambahan tentang List|IO Fail}}
 
[[Kategori:Python]]