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.
This is a topic that’s close to my heart… Cheers! Exactly where are your
contact details though?
I do believe all the concepts you have introduced for your
post. They are really convincing and can definitely
work. Nonetheless, the posts are too quick for novices.
Could you please lengthen them a bit from next time? Thank you for the post.
Wonderful beat ! I wish to apprentice while you amend your site, how could i subscribe for a blog
site? The account helped me a acceptable deal. I had
been tiny bit acquainted of this your broadcast offered bright clear
idea
Right away I am going to do my breakfast, once having
my breakfast coming again to read further news.
We stumbled over here coming from a different page and thought I may as well check things out.
I like what I see so now i’m following you.
Look forward to checking out your web page repeatedly.
You actually make it seem so easy with your presentation but I find this topic to
be actually something which I think I would never understand.
It seems too complex and very broad for me. I’m looking forward for your next post,
I’ll try to get the hang of it!
Hi, I do think this is an excellent website. I stumbledupon it 😉 I will come
back yet again since i have book-marked it. Money and freedom is the
best way to change, may you be rich and continue to help others.
Wow, this piece of writing is good, my younger sister is analyzing these
kinds of things, so I am going to let know her.
Hmm is anyone else encountering problems with the images on this blog loading?
I’m trying to determine if its a problem on my end or if it’s
the blog. Any responses would be greatly appreciated.
Hi there, all is going fine here and ofcourse every one is sharing facts,
that’s actually good, keep up writing.
Hello there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to
rank for some targeted keywords but I’m not seeing very good results.
If you know of any please share. Appreciate it!
Sweet blog! I found it while browsing on Yahoo News. Do you have any tips on how to get listed in Yahoo News?
I’ve been trying for a while but I never seem to get there!
Cheers
Hi, I check your new stuff on a regular basis. Your writing style is witty, keep doing what you’re
doing!
If some one wishes expert view regarding blogging
and site-building afterward i propose him/her to go to see this website, Keep up the pleasant work.
If some one needs to be updated with hottest technologies
then he must be go to see this website and be up to date everyday.
Howdy! This is my first comment here so I just wanted to give a quick shout
out and say I genuinely enjoy reading your posts.
Can you suggest any other blogs/websites/forums that
cover the same subjects? Thanks for your time!
هایک ویژن (به انگلیسی: Hikvision ) یکی از تولیدکنندگان و برندهای سیستمهای تصاویر مداربسته در حوزه سیستمهای امنیتی است.
Wow, amazing blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your web site
is fantastic, as well as the content!
Hеy There. I found yoour blog tһe uѕee of mѕn. That is an extremely well written article.
I will bbe sure to bookmark іt and return too read more of your usful іnfo.
Thanks fߋr the ⲣost. I’ll certainly comeback. http://datasciencemetabase.com/index.php/Pragmatic_Play_Gampang_Digunakan
“She introduced her track to us and it just opened up the whole film,” he mentioned.
خرید دوربین هایک ویژن همراه با مشاوره رایگان و بهترین قیمت دوربین مدار بسته هایک ویژن را در دوربین مارکت تجربه کنید. برای دریافت لیست قیمت دوربین مداربسته
Hi are using WordPress for your site platform? I’m new to
the blog world but I’m trying to get started and set up my own. Do you need any coding expertise to make
your own blog? Any help would be greatly appreciated!
Hello there! I could have sworn I’ve visited this blog
before but after looking at a few of the posts I realized it’s
new to me. Nonetheless, I’m certainly pleased I came across it and I’ll be bookmarking it and checking back
frequently!
Oh my goodness! Incredible article dude! Thank you, However I am encountering troubles with your RSS.
I don’t know the reason why I cannot join it.
Is there anybody having similar RSS problems?
Anyone that knows the solution can you kindly respond?
Thanks!!
Greetings, I believe your blog could possibly be having web browser
compatibility issues. Whenever I look at your website in Safari, it looks fine
but when opening in Internet Explorer, it has some overlapping issues.
I simply wanted to give you a quick heads up! Apart from that, fantastic website!
Right now it looks like Drupal is the top
blogging platform available right now. (from what
I’ve read) Is that what you are using on your blog?
I was curious if you ever considered changing the page layout of your website?
Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could connect
with it better. Youve got an awful lot of text for only having one or 2 images.
Maybe you could space it out better?
LINK DAFTAR PRAGMATIC123 | LINK ALTERNATIF PRAGMATIC123 | LINK LOGIN PRAGMATIC123
| PRAGMATIC123 | DITA4D | LINK DAFTAR DITA4D | LINK LOGIN DITA4D | LINK ALTERNATIF DITA4D | LINK DAFTAR PRAGMATIC77
| LINK LOGIN PRAGMATIC77 | LINK ALTERNATIF PRAGMATIC77
| PRAGMATIC77 | LINK DAFTAR PRAGMATIC189 | LINK LOGIN PRAGMATIC189 |
LINK ALTERNATIF PRAGMATIC189 | PRAGMATIC189 | PRAGMATIC PLAY | DEMO PRAGMATIC PLAY | AKUN DEMO PRAGMATIC PLAY
| KINGDOMTOTO | LINK DAFTAR KINGDOMTOTO | LINK ALTERNATIF KINGDOMTOTO | LINK LOGIN KINGDOMTOTO
| KINGDOMTOTO WAP | LXTOTO | LINK LOGIN LXTOTO | LINK DAFTAR LXTOTO
| LINK ALTERNATIF LXTOTO | LXTOTO WAP | LINK WAP LXTOTO
Wow, incredible blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your web site is
fantastic, let alone the content!
Hi there, I enjoy reading all of your post. I like to write a little comment to
support you.
خرید دوربین هایک ویژن همراه با مشاوره رایگان و بهترین قیمت دوربین مدار بسته هایک ویژن را در دوربین مارکت تجربه کنید. برای دریافت لیست قیمت دوربین مداربسته
versus project market link darknet empire market – tor markets links
What’s up, this weekend is good in favor of me, for the reason that this occasion i am reading this enormous informative article here at my home.
Ꮋi there, jut became aware off your blog through Google, and found that it’s rеally informative.
I am going tⲟ watch outt for bгussels. I’ll be grateful
if you continue this іn future. A lot of people wikl
be benefited from your wrіting. Ⲥһeers! http://dammwild.net/wiki/index.php?title=Cara_Download_Aplikasi_Sbobet_Sbobet88_Sbotop_Aci
آخرین قیمت واقعی خرید و فروش اینترنتی ، نقد و بررسی ، مشخصات ، انواع دوربین تحت شبکه هایک ویژن Hikvision به همراه بررسی های تخصصی و اخبار و مقالات مرتبط.
فروشگاه هایک ویژن نمایندگی هایک ویژن در تهران. خرید دوربین مداربسته هایک ویژن و دستگاه ضبط تصویر هایک ویژن با بهترین قیمت و مشاوره رایگان.
فروشگاه هایک ویژن نمایندگی هایک ویژن در تهران. خرید دوربین مداربسته هایک ویژن و دستگاه ضبط تصویر هایک ویژن با بهترین قیمت و مشاوره رایگان.
It’s actually a nice and useful piece of information. I am happy
that you simply shared this useful info with us. Please
stay us up to date like this. Thank you for sharing.
Stop by my web-site Professional Tree Services
Ηi! I just wanted to aaѕk if you ever have any trouƅle with hackers?
My last blog (wordpress) was hɑcked and I ended up losing many montһs off hard work due to no back uр.
Do you have any solutions to proteect against hackers? https://www.knittingsell.com/author/fywcharis3/
ในสมัยนี้ มั่นใจว่าคนไทยนั้นต้องเผชิญกับปัญหาว่างงานหรือมีปัญหาเรื่องเกี่ยวกับการเงินอย่างแน่นอน เพราะเหตุว่าไม่ว่าจะเป็นเศรษฐกิจที่ต่ำ ไม่อาจจะดำเนินงานหาเงิน วันนี้ทางสล็อต
เว็บตรงไม่ผ่านเอเย่นต์ไม่มีขั้นต่ำมีวิธีการหารายได้กล้วยๆกับการเล่นเกมสล็อตเว็บตรงที่เป็นเกมออนไลน์หารายได้ได้จริง สามารถหาเงินออนไลน์ได้ทุกที่ตลอดทั้งวัน 24 ชั่วโมง ซึ่ง g2gbk8 เป็นสล็อต เว็บตรงไม่ผ่านเอเย่นต์ไม่มีขั้นต่ำมีมั่นคงถูกตามกฎหมายคาสิโนสากล รับประกันจากผู้เล่นจริงทั้งประเทศ ทุกคนสามารถหาเงินกล้วยๆ โดยทาง g2gbk8 นั้นมีค่ายเกมjoker เว็บตรง,pg slot ไม่ผ่านเอเย่นต์,slotxo เว็บตรงไม่ผ่านเอเย่นต์ 2022,ซุปเปอร์สล็อต เพียงสมัครสล็อตกับทาง g2gbk8 ที่เป็นเว็บเกมสล็อต ซึ่งไม่ผ่านผู้แทนหรือตัวกลางอะไรก็ตามเล่นสล็อตได้โดยตรงกับค่ายเกม มีเกมslotให้เลือกเล่นมากยิ่งกว่า 200 เกม และก็ยังมีบริการต่างๆล้นหลามที่จะเพิ่มความสบายสบายให้กับสมาชิกเกมสล็อตเว็บตรง ไม่ว่าจะเป็นการเติม-ถอน ไม่มีอย่างต่ำรวมทั้งมีความรวดเร็วประเมินผลด้วยระบบอัตโนมัติ มีความเที่ยงตรงสูง ไม่ต้องส่งสลิปหลักฐานการโอนให้กับทางผู้ดูแลให้เสียเวลา หรือจะเป็นโปรโมชั่นแจกฟรีเครดิต100%
หรือจะเป็นโปรฝาก 20 รับ 100 ทุกท่านสามารถหารายได้ออนไลน์ได้แล้วที่สล็อต เว็บตรงไม่ผ่านเอเย่นต์ไม่มีขั้นต่ำ เว็บสล็อตแตกง่าย
Thanks , I have recently been looking for info about this subject for a while and
yours is the greatest I’ve discovered so far. However, what
about the bottom line? Are you sure about the supply?
incognito market darknet dream market darknet link – darknet market arrests
Silkkitie market url televend link [url=https://darknetdrugstore.com/ ]how to create a darknet market [/url]
biggest darknet market 2021 new darknet market reddit – tor markets 2022
Somebody necessarily help to make seriously posts I would state.
That is the first time I frequented your website page
and so far? I surprised with the research you made to make this particular submit
extraordinary. Excellent job!
how to start writing a dissertation
dissertation writing advice
dissertation searches
Amazing! This blog looks exactly like my old one!
It’s on a completely different topic but it has pretty much the same page layout and design. Excellent choice of colors!
دوربین مداربسته هایک ویژن یکی از برترین تولید کنندگان دوربین های نظارتی است که محصولاتی با کیفیت بالا و منحصر به فرد ارائه می کند. این برند دوربین های تحت …
how to cite a dissertation
18-month doctorate without dissertation
dissertation proposal help
Hi, I ⅾo thіnk this is a great site. I stumbledupon it
😉 Ӏ’m ɡoing to revisit уet again sіnce I bookmarked it.
Money аnd freedom iss tһe bеst way tо chɑnge, may you Ƅe rrich аnd continue tο guide othеr people.
Tаke a ⅼo᧐k at my blog post; lire le sujet tendance