Pada posting sebelumnya sudah dicontohkan soal pemrograman dalam bahasa Python. Kali ini, akan ditampilkan lagi contoh berikutnya.
Soal:
Buatlah program Python untuk menampilkan pola segitiga siku-siku menggunakan for … in.
Jawab:
Pola 1
* * * * * * * * * * * * * * * * * * * * *
Jawab:
siku_siku_1.py |
tinggi = 6 for baris in range(0, tinggi): for kolom in range(0, tinggi-baris): print("*", end=" ") print("") |
Pola 2
* * * * * * * * * * * * * * * * * * * * *
Jawab:
siku_siku_2.py |
tinggi = 6 for baris in range(0, tinggi): for kolom in range(0, baris+1): print("*", end=" ") print("") |
Pola 3
* * * * * * * * * * * * * * * * * * * * *
Jawab:
siku_siku_3.py |
tinggi = 6 for baris in range(0, tinggi): for kolom in range(1, tinggi-baris): print(" ", end=" ") for bintang in range(0, baris+1): print("*", end=" ") print("") |
Demikian contoh pola segitiga dalam pemrograman Python. Semoga bermanfaat.
It’s remarkable for me to have a web page, which is useful designed for
my experience. thanks admin
dark market onion darknet market list
Cialis What Otc Supplyment Is Equil To It?
plaquenil 200mg pill – buy baricitinib 2mg pill cheap baricitinib 2mg
I’m truly enjoying the design and layout of your website.
It’s a very easy on the eyes which makes it
much more enjoyable for me to come here and visit more often. Did you hire
out a designer to create your theme? Fantastic work!
tor market url dark web market links
darkmarket 2022 drug markets onion
erythromycin drops https://erythromycinn.com/#
drug markets onion dark market list
erythromycin online erythromycin 500mg
tor dark web tor market
I was recommended this website by my cousin. I’m not sure whether this post is
written by him as nobody else know such detailed about my difficulty.
You are wonderful! Thanks!
onion market darknet drug store
dark market darknet market list
drug markets dark web darkmarket url
erythromycin base erythromycin estolate
best darknet markets darknet websites
darkmarket 2022 dark market link
darknet market list darkmarket list
best darknet markets dark markets 2022
why Doesn’t Cialis Work For Me?
dark web sites deep web drug url
darknet marketplace deep web drug url
dark web sites bitcoin dark web
dark markets dark web sites
erythromycin ophthalmic ointment for cats http://erythromycin1m.com/#
darknet drug store dark market url
tor market url dark market onion
tor darknet dark web market list
dark market url darkmarket
dark web link darknet drug links
deep web drug markets tor markets
darknet drug store dark web market
darkmarket list dark market url
darkmarket darkmarket url
tor darknet darkmarket 2022
deep web drug markets dark market
tor darknet darknet drug market
drug markets onion dark web links
dark web sites darknet market
darknet marketplace dark market
Your tips is extremely fascinating.
http://www.bbs188.net/home.php?mod=space&uid=166067
dark web market list dark market onion
darkmarkets tor dark web
dark web links darknet market lists
darknet market tor market url
tor market links darknet drug links
darkmarket 2022 tor dark web
deep web drug store dark web market
dark market link best darknet markets