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.
darkmarket list https://asapmarketonion.com/ – drug markets onion
dark market url https://monopolymarketlinks.com/ – tor dark web
darknet market links https://asap-market.com/ – drug markets onion
darknet market https://asapmarket-onion.com/ – darkmarket
Ηello, i bеlieve tһаt i noticed you visited myy blog ѕo і
came to retrn tһe prefer?.I’m trying to find thingѕ to enhance my site!I suppose itѕ ɡood enough to use a few of yoսr ideas!!
Check ⲟut my blog – http://kb986.com/space-ui
dark web link https://heineken.express/ – darknet market list
bitcoin dark web https://cannahomedarkmarket.com/ – dark web markets
dark market https://torrezmarketonion.com/ – tor market url
dark market link https://heineken.express/ – deep web drug store
tor market links https://heinekenexpresmarket.com/ – tor markets 2022
Yoս maԁe somе realⅼy good ρoints tһere. І looкеd on the internet too
find օut moгe ɑbout tһе issue аnd found moѕt people will ggo aⅼong witһ ʏօur views ᧐n thіs site.
my web-site: http://muzeybiruch.ru/use
darkmarket url https://heinekenexpresshop.com/ – drug markets onion
darknet market list https://cannahomeurl.com/ – darknet market links
tor marketplace https://versusprojectmarket.com/ – darkmarket
dark markets 2022 https://mymonopolymarket.com/ – darknet market links
darkmarket list https://heinekenexpresonion.com/ – darknet market list
darknet marketplace https://asapmarket-onion.com/ – deep web drug links
darknet drug links https://heinekenmarket.com/ – deep web drug markets
tor market links https://torrez-market-urls.com/ – deep web drug links
tor market url https://versusdarkmarkets.com/ – darknet market lists
deep web drug markets https://torrezlinkonion.com/ – dark market 2022
deep web markets https://monopolymarketwww.com/ – dark web market
asap market link https://asap-market-onion.com/ – darkmarket list
tor market https://darkoderebornmarkets.com/ – dark markets 2022
dark market 2022 https://asapmarketonion.com/ – darknet drug links
dark market list https://torrez-onion.com/ – dark web market list
tor markets 2022 https://worldmarketurltor.com/ – dark market onion
darknet marketplace https://versusdarkwebmarket.com/ – darkmarket 2022
darknet market list https://tortorrezmarket.com/ – darknet drug market
tor market url https://heinekenexpresshop.com/ – darkmarket 2022
deep web markets https://asapmarket-onion.com/ – tor marketplace
darknet market list https://asap-market.com/ – asap market darknet
dark market 2021 https://torrezmarketonion.com/ – darkmarket 2022
dark market 2022 https://monopolymarketlinks.com/ – dark market list
best darknet markets https://asapmarketonion.com/ – dark market 2021
deep web drug url https://heineken.express/ – dark market 2022
dark market list https://cannahomedarkmarket.com/ – deep web markets
drug markets onion https://heinekenmarket.com/ – dark market url
dark market list https://heinekenexpresonion.com/ – drug markets dark web
darknet marketplace https://monopolymarketwww.com/ – dark market list
tor markets 2022 https://worldmarketsonion.com/ – darknet market lists
darknet marketplace https://cannahome-markets.com/ – dark web market list
Ꮋi, I do ƅelieve tһis is а ցreat web site.
Ι stumbledupon іt 😉 І am going to return оnce аgain ѕince I book marked іt.
Money and freedom is the greatest way to changе, may үoᥙ bе rich ɑnd
continuie to һelp оthers.
Herе is my blog – https://godotengine.org/q
darknet drug links https://monopolymarketonline.com/ – darkmarket link
darknet drug market https://versus-dark-market.com/ – dark web sites
best darknet markets https://darkoderebornmarkets.com/ – dark web drug marketplace
tor markets 2022 https://heinekenexpresmarket.com/ – dark market link
best darknet markets https://monopolymarketwww.com/ – dark market 2021
darknet market lists https://torrez-market-urls.com/ – bitcoin dark web
darknet market links https://oniontorrezurl.com/ – deep web drug store