Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Wednesday, June 1, 2016

Bermain dengan Float.. :D

Contoh representasi float dalam decimal :
3/8 = 0.375 = 3*10**(-1) + 7*10**(-2) + 5*10**(-3)

 Contoh program dalam python untuk ngekonvert float ke binary :


Hasilnya :

Waaaaww... binary dari 0.1 kereeun.. :v

Decimal to Binary in Python


Wednesday, March 30, 2016

Jawaban L3 Problem 8 - Intro to Computer Science & Programming Using Python - edx.org





Jawaban L3 Problem 7 - Intro to Computer Science & Programming Using Python - edx.org





Jawaban L3 Problem 6 - Intro to Computer Science & Programming Using Python - edx.org






Jawaban L3 Problem 5 - Intro to Computer Science & Programming Using Python - edx.org


 Jawaban dari edx-nya :






 Jawaban edx :

Jawaban L3 Problem 4 - Intro to Computer Science & Programming Using Python - edx.org

Berikut jawaban problem yang ke-4




mmmm.... itu yang "hola" salah... :v, jawaban yang bener ternyata h, o, l, a....brrr... lupa naroin koma koma... :v

Jawaban L3 Problem 3 - Intro to Computer Science & Programming Using Python - edx.org

Berikut jawaban untuk problem ketiga lecture 3
 






Jawaban L3 Problem 2 - Intro to Computer Science & Programming Using Python - edx.org

Berikut jawaban untuk problem 2a

Jawaban dari edx-nya :

=================================================================
Penjelasan dari edx-nya :
==============================================================


Penjelasan dari edx 


Tuesday, March 29, 2016

Jawaban L3 Problem 1

Berikut jawaban Lecturer ke 3 problem 1 di online course edx.org tentang Introduction to Computer Science and Programming using Python...