The first letter · Huruf pertama
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Halaman ini memerlukan browser terbaru (dengan dukungan SharedArrayBuffer). Silakan perbarui Chrome, Edge, Firefox, atau Safari ke versi terbaru.
This one builds on a lesson you haven't finished yet. Do that lesson first: · Yang ini bergantung pada pelajaran yang belum Anda selesaikan. Kerjakan pelajaran itu terlebih dahulu:
Python Basics · Working with strings · Bekerja dengan string →
English
The first letter
word is "python". Store its first character in first.
Positions start at 0, not 1 — so the first character is word[0].
Bahasa Indonesia
Huruf pertama
word is "python". Simpan karakter pertamanya dalam first.
Posisi dimulai dari 0, bukan 1 — jadi karakter pertama adalah word[0].
word is "python". Store its first character in first. · word is "python". Simpan karakter pertamanya dalam first.
Click Run to see the output here. · Klik Jalankan untuk melihat output di sini.