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.
free coins for double down slots
wind creek online casino real money
triple diamond slots
I think other web-site proprietors should take this website as an model, very clean and
magnificent user genial style and design, let alone the
content. You are an expert in this topic!
My web-site bathroom remodeling services wichita ks obituaries
free spins
vegas world slots
slots games
It’s an awesome piece of writing designed for all the web viewers; they will get benefit from it I
am sure.
This site really has all of the information and facts I needed about this subject
and didn’t know who to ask.
shaved models slots
online slots
free fun slots no download
Hey very nice blog!
buy ivermectin 12mg ivermectin tablets for humans
generic plaquenil 200mg hydroxychloroquine 200mg for sale online how does plaquenil work
https://hydroxychloroquinex.com/ generic plaquenil online
I’d like to thаnk you ffor tһe efforts yoou hаve рut in writing
this website. I am hoping to see the sɑme hіgh-grade content
from yοu lateг οn as weⅼl. Іn fact, your creative writing abilities һаs motivated me
to gget my оwn, personal site nnow 😉
My site: намайг авраач
real money slots
free sizzling 7 slots
myvegas slots on facebook
اگر قصد خرید کاخن دارید و می خواهید بدانید بهترین برند کاخن کدام است این مقاله به بررسی ۷ برند برتر کاخن در جهان می پردازد.
Hey I know this is off topic but I was wondering if you knew of any widgets
I could add to my blog that automatically tweet my newest twitter
updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe
you would have some experience with something like this. Please let me know if you run into anything.
I truly enjoy reading your blog and I look forward to your new updates.
https://hydroxychloroquinex.com/ hydroxychloroquine online canada
plaquenil generic
I truly love your blog.. Very nice colors & theme.
Did you make this site yourself? Please reply back as I’m
looking to create my very own site and would love to know where you got this from or
just what the theme is called. Many thanks!
Admiring the persistence you put into your website and in depth information you provide.
It’s great to come across a blog every once in a while that isn’t the same
unwanted rehashed information. Excellent read! I’ve bookmarked your site and I’m
adding your RSS feeds to my Google account.
As the admin of this web site is working, no question very quickly it will be well-known, due to its quality
contents.
ivermectin canada
This summer, experience the epic conclusion to the Jurassic
period as two generations unite for the primary time.
buy ivermectin 12 mg ivermectin price
Attractive portion of content. I simply stumbled upon your site and in accession capital to assert that I get actually
loved account your blog posts. Anyway I will be subscribing
for your feeds or even I fulfillment you get
admission to persistently quickly.
free kiss slots
play for cash slots
free online slots machines