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.
deep web drug markets drug markets onion
dark web markets darkmarket link
dark web sites tor market links
Thanks very interesting blog!
dark markets dark market url
Hi, i read your blog occasionally and i own a similar one
and i was just wondering if you get a lot of spam comments?
If so how do you stop it, any plugin or anything you
can recommend? I get so much lately it’s driving me crazy so any
help is very much appreciated.
dark web markets drug markets dark web
dark market list darkmarket 2022
dark market link deep web markets
darknet websites darknet market list
tor markets tor marketplace
dark market url tor markets links
dark market onion darknet marketplace
bitcoin dark web bitcoin dark web
dark market 2022 darknet market links
darknet websites dark market list
dark markets 2022 darknet market
dark market darknet drug links
tor darknet best darknet markets
darkmarket 2022 darknet market
Real fantastic information can be found on web blog.
Here is my web blog: certified kitchen and bath designers near me
dark web market links deep web drug links
dark markets 2022 darkmarket list
best darknet markets darkmarket list
dark markets darkmarket
dark web market list dark web link
deep web drug store bitcoin dark web
tor dark web tor marketplace
tor darknet darknet drug store
tor markets dark markets 2022
darknet websites dark market list
dark market list drug markets onion
darkmarket link deep web drug store
dark market onion drug markets dark web
deep web drug url darkmarket
dark web market links darkweb marketplace
good good
dark web drug marketplace darkmarkets
dark market url darknet market lists
อย่าห้าวให้มากไอ้เด็กเหี้ย
darknet market list deep web drug links
dark web market bitcoin dark web
best darknet markets darknet market
darkmarket dark web sites
dark web market links bitcoin dark web
dark web drug marketplace dark market 2022
dark web link dark market onion
tor market links deep web drug markets
tor dark web tor markets 2022
best darknet markets darknet drug links