Langsung ke konten utama

Postingan

Menampilkan postingan dari Maret, 2019

How to Create Multiplication Table, Square, Import Turtle, Fibonacci Sequence, Letter Conversion, Inverted Pyramid, Math Equation Programs in Python

Example of Multiplication Table using Python   #here is another example of program #using python programming language #multiplication table: print(' Multiplication Table\n', '--------------------\n') n = int(input('n = ')) print('    ',end = '  ') for coloumn in range(1, n+1): print('%3d ' % coloumn, end = '') print() #movetherow for row in range(1, n + 1): print('%3d ' % row, end = '') for coloumn in range(1, n + 1): print('%3d ' % (row * coloumn), end = '') print()   How to create a square / box using Python #how to create a box (example) n = int(input("Input a number = ")) character = input("Input a character = ") print() #process for coloumn in range(1, 2 * n+1): print(character, end = "") print() for index in range(1, n-1): print(character, end = "") for coloumn in range(1, 2 * n-1): print(" ", end = "") #for space...

Odd or Even Number Program Source Code (Pascal & C++ Programming)

 Pascal Odd or Even Number Program Here is the source code. LINK VIDEO HERE program oddevennumber; uses crt; var angka,nomor: integer; begin clrscr; writeln; writeln('............................PROGRAM ODD & EVEN NUMBER...........................'); {Input} writeln;writeln; write(' Input a number: ');readln(angka); writeln; writeln('=============================='); {The Formula} nomor:=angka mod 2; {Range} if (nomor=0) then write(' ',angka,' IS EVEN NUMBER ') else write(' ',angka,' IS ODD NUMBER '); readln; write('=============================='); readln; end. Odd Number Program Using For Looping in C++ #include <iostream> using namespace std; int main() { int limit; cout<<"--------------------------------\n"; cout<<" Input maxiumum number= "; cin>>limit; cout<<"================================\...

12 Facts about Lungs

Featured image by alexandearx : mango leaves FACTS ABOUT LUNGS: 1. Surface Area of the Lungs The surface area of the lungs is enormous, roughly the size of a tennis court. This is possible due to the millions of tiny alveoli, whose folded, balloon-like structure maximizes the area for gas exchange. This large surface is critical because it allows oxygen and carbon dioxide to exchange rapidly and efficiently. 2. Alveoli (Tiny Air Sacs) Each lung contains 300 to 500 million alveoli, and they are surrounded by a network of capillaries. Together, they provide a crucial interface for gas exchange: oxygen from the air enters the blood, and carbon dioxide from the blood is expelled. These sacs are only one cell thick, making diffusion easy and efficient. 3. Lungs' Role in pH Balance The lungs play an essential role in maintaining the body’s pH balance by regulating the levels of carbon dioxide in the blood. When CO₂ levels rise, the blood becomes more acidic, and faster breathing helps ex...

Deru Campur Debu

  Kumpulan Puisi Chairil Anwar ------------------------------------------------------------------------ AKU Kalau sampai waktuku 'Ku mau tak seorang 'kan merayu Tidak juga kau Tak perlu sedu sedan itu Aku ini binatang jalang Dari kumpulannya terbuang Biar peluru menembus kulitku Aku tetap meradang menerjang Luka dan bisa kubawa berlari Berlari Hingga hilang pedih peri Dan aku akan lebih tidak perduli Aku mau hidup seribu tahun lagi ------------------------------------------------------------------------ HAMPA                                                                    kepada sri Sepi diluar. Sepi menekan-mendesak Lurus kaku pohonan. Tak bergerak Sampai ke puncak. Sepi memagut, Tak satu kuasa melep...

Pengetahuan bahan makanan

  SAYUR BUAH BUMBU DAN REMPAH BERAS UMBI KACANG-KACANGAN SUSU DAN HASIL OLAHNYA TELUR   SAYUR-SAYURAN Syarat kualitas Bersih, tidak ada memar atau cacat lainnya Daun segar, tidak layu, tidak ada bekas serangan hama Sayur berbiji harus muda dan biji kelihatan (samar) Cerah, penampilan segar Penyimpanan Temperatur antara 5-10° C Sayuran hijau gunakan keranjang berpori-pori Umbi, letakkan diudara terbuka Freezer (3-7 hari) Suhu kamar (2-3 hari)   BUAH-BUAHAN Syarat Kualitas Segar, tidak keriput Tidak over rape Tua Tidak memar/tanda kerusakan lainnya Berwarna (merah atau kuning) Penyimpanan Suhu 5-10° C Matang sempurna (simpan pada suhu dingin) Kulit tipis (taruh pada kotak berlubang)   BUMBU DAN REMPAH Syarat Kualitas Nilai gizi Kesegaran Warna Aroma Kekeringan Tidak berserangga Keutuhan Penyimpanan Bumbu Pendingin (cuci, disimpan) Suhu kamar : sirkulasi udara harus lancer Kadar air tinggi : gantung pada keranjang berlubang Rempah Cuci, lalu jemur atau sangria (dapat d...