Tagged: tips

Menggunakan notasi slice dan slice object

Untuk memotong sebuah list atau tuple (struktur data dengan sequence), kita dapat menggunakan slice. Memotong yang dimaksudkan disini adalah mengambil sebagian saja dari sebuah list/tuple berdasarkan kriteria tertentu. Menggunakan notasi slice (:) Pada dasarnya...

Belajar koding untuk pemula
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.