• Artikel

Follow Us:

Python Buat Semua
  • Home
  • Python Basic
  • Python Others
  • Referensi
  • Buku
  • Video
  • IDE Basic

Referensi Python

  • Home
  • Referensi Python

Kumpulan referensi fungsi dan konsep Python dalam bahasa Indonesia. Setiap halaman berisi sintaks, contoh yang bisa langsung dijalankan di IDE online, dan kesalahan umum.

Dasar-Dasar

  • print()
  • Komentar
  • Variabel
  • Tipe Data
  • type()
  • Casting
  • Operator
  • in
  • is
  • input()

String

  • f-string
  • format()
  • len()
  • Slicing String
  • upper() dan lower()
  • title() dan capitalize()
  • strip()
  • lstrip() dan rstrip()
  • replace()
  • split()
  • splitlines()
  • join()
  • find()
  • index() String
  • count()
  • startswith() dan endswith()
  • isdigit()
  • isalpha()
  • isupper() dan islower()
  • center(), ljust(), rjust()
  • zfill()

Percabangan & Perulangan

  • if else
  • elif
  • for
  • while
  • range()
  • break dan continue
  • Nested Loop

List & Tuple

  • List
  • append()
  • extend()
  • insert()
  • remove()
  • pop()
  • index()
  • sort() dan sorted()
  • List Comprehension
  • Tuple
  • count() dan index() Tuple

Dictionary & Set

  • Dictionary
  • get() Dictionary
  • keys()
  • values()
  • items()
  • update()
  • pop() Dictionary
  • Dict Comprehension
  • Set
  • add()
  • remove() dan discard()
  • union(), intersection(), difference()

Angka & Matematika

  • round()
  • abs()
  • min() dan max()
  • sum()

Fungsi

  • Fungsi
  • return
  • Argumen Default
  • *args dan **kwargs
  • Variabel Global dan Lokal
  • lambda
  • enumerate()
  • zip()

File & Error

  • Membaca File
  • Menulis File
  • with
  • try except
  • raise

Modul & pip

  • import
  • pip install
  • Virtual Environment
  • requirements.txt

Modul math

  • Modul math
  • math.sqrt()
  • math.ceil() dan math.floor()
  • math.pow()
  • math.factorial()
  • math.gcd()
  • math.pi

Modul random

  • Modul random
  • random.randint()
  • random.random()
  • random.choice()
  • random.shuffle()

Modul datetime

  • Modul datetime
  • datetime.now()
  • strftime()
  • timedelta

Topik Lanjutan

  • Class

Editor Picks

Infografik instalasi Python di Windows

Python Dasar: Instalasi Python di Windows

February 9, 2025

Popular Posts

Infografik strategi Divide and Conquer dalam pemrograman Python

Strategi Divide and Conquer dalam Pemrograman Python

April 22, 2025

Popular Category

Python Basic

21

Python Others

2

Video

14

About Us

Python.konsep.com bertujuan menambah semakin banyak teman-teman yang menyukai programming khususnya bahasa python.

Contact Us: hi@konsep.com

Follow us:

©2026 Python - konsep.com. All Rights Reserved

  • Artikel