

Mengenal Tipe Data di Python
Presentation
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Nor Wahyono
Used 1+ times
FREE Resource
9 Slides • 0 Questions
1
Mengenal Tipe Data di Python
By : H. Nor Wahyono, ST., M.Kom
2
Apa itu Tipe Data?
By : H. Nor Wahyono, ST., M.Kom
Tipe data adalah jenis nilai yang dapat disimpan dalam variabel.
Python memiliki beberapa tipe data utama:
Integer (int)
Float (float)
String (str)
Boolean (bool)
List (list)
3
Integer (int)
By : H. Nor Wahyono, ST., M.Kom
Angka bulat, tanpa koma
Contoh: 5, -10, 2025,
4
Float (float)
By : H. Nor Wahyono, ST., M.Kom
Angka desimal, memiliki koma
Contoh: 3.14, -0.5, 2.0
5
String (str)
By : H. Nor Wahyono, ST., M.Kom
Data berupa teks, ditulis dengan " " atau ' '
Contoh: "Python", 'Belajar'
6
Boolean (bool)
By : H. Nor Wahyono, ST., M.Kom
Hanya memiliki 2 nilai: True atau False
Digunakan untuk logika benar/salah
7
List (list)
By : H. Nor Wahyono, ST., M.Kom
Menyimpan banyak data dalam satu variabel
Ditulis dengan tanda kurung siku [ ]
8
Ringkasan
By : H. Nor Wahyono, ST., M.Kom
Tipe Data | Contoh | Keterangan |
|---|
int | 5, -10, 2025 | Bilangan bulat |
float | 3.14, -0.5 | Bilangan desimal |
str | "Halo", 'Python' | Teks |
bool | True, False | Logika benar/salah |
list | [1, 2, 3] | Kumpulan data |
9
Contoh soal
By : H. Nor Wahyono, ST., M.Kom
Apa tipe data dari kode berikut? |
|---|
a. int |
|---|
Mengenal Tipe Data di Python
By : H. Nor Wahyono, ST., M.Kom
Show answer
Auto Play
Slide 1 / 9
SLIDE
Similar Resources on Wayground
5 questions
Informatika
Presentation
•
10th - 12th Grade
8 questions
8. Η οριστική απομάκρυνση της Περσικής επίθεσης
Presentation
•
9th - 12th Grade
6 questions
REVISÃO DE FÍSICA - MECÂNICA
Presentation
•
9th - 12th Grade
10 questions
Pengantar Jaringan Komputer
Presentation
•
9th - 12th Grade
6 questions
TIPOS DE REACCIONES 2
Presentation
•
9th - 12th Grade
6 questions
CLT Boot Camp 1/18/26
Presentation
•
9th - 12th Grade
6 questions
Ocean Acidity
Presentation
•
9th - 12th Grade
11 questions
Equations of Circles
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade
Discover more resources for Computers
28 questions
US History Regents Review
Quiz
•
11th Grade
20 questions
Insurance
Quiz
•
9th - 12th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
10 questions
7.3-7.4 Quiz
Quiz
•
11th Grade
20 questions
Summer Geometry QUIZ (Week 2)
Quiz
•
9th Grade
6 questions
Mayan Mathematics part 1
Presentation
•
9th - 12th Grade
25 questions
Biology Regents Review
Quiz
•
9th Grade
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...