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.
Hey! Quick question that’s entirely off topic. Do you know how to make your site
mobile friendly? My blog looks weird when browsing from my iphone 4.
I’m trying to find a theme or plugin that might be able to fix this issue.
If you have any suggestions, please share.
Cheers!
It’s a pity you don’t have a donate button! I’d certainly donate to this
superb blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account.
I look forward to brand new updates and will share this blog with my Facebook group.
Talk soon!
Hi there, i read your blog occasionally and i own a
similar one and i was just wondering if you get a lot of spam
responses? If so how do you prevent it, any plugin or anything you can suggest?
I get so much lately it’s driving me crazy so any support is very much appreciated.
Good day! Do you use Twitter? I’d like to follow you if
that would be ok. I’m absolutely enjoying your blog and look forward to new updates.
I simply could not leave your site prior to suggesting that I extremely loved the usual
information an individual supply to your visitors? Is gonna be
back continuously in order to investigate cross-check new posts
I think this is among the most important information for
me. And i am glad reading your article. But should remark on few general things, The site style is
perfect, the articles is really excellent : D. Good job,
cheers
tor market darknet market list [url=https://darkmarket-online.com/ ]dark markets 2022 [/url]
Thank you for sharing your thoughts. I really appreciate your efforts and
I am waiting for your further write ups thank you once again.
You actually make it seem so easy with your presentation but I find
this topic to be really something that I think I would
never understand. It seems too complicated and very broad for me.
I am looking forward for your next post, I’ll try to get the hang
of it!
If you are going for best contents like I do, simply
go to see this web site daily because it presents quality contents, thanks
When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment.
Is there any way you can remove me from that service?
Thanks!
hello there and thank you for your info – I’ve certainly picked up anything new from right
here. I did however expertise a few technical issues using this web site,
as I experienced to reload the web site many times previous to I could
get it to load correctly. I had been wondering if your web hosting is OK?
Not that I am complaining, but sluggish loading instances times will often affect your placement in google and could damage your high quality score if ads and marketing with Adwords.
Anyway I am adding this RSS to my email and could look out for a lot more of your respective interesting content.
Make sure you update this again soon.
I don’t even understand how I stopped up right here,
however I thought this publish was once good.
I do not know who you might be however definitely you’re going to a well-known blogger when you
are not already. Cheers!
Your style is unique compared to other folks I’ve read stuff from.
Thank you for posting when you’ve got the opportunity,
Guess I’ll just book mark this page.
Currently it appears like Drupal is the best blogging platform available right now.
(from what I’ve read) Is that what you are using on your blog?
appealing review. Also visit the particular site which are often played
out slot pulsa online. These kinds of web page has received endorsement
out of slot wagering folks in Negara sendiri.
So there are generally many attractive promos scenario join today.
Hello, everything is going nicely here and ofcourse
every one is sharing facts, that’s really good, keep up
writing.
I think the admin of this website is genuinely working hard in support
of his web site, as here every material is quality based information.
Can you tell us more about this? I’d want to find out some additional information.
Hiya! Quick question that’s entirely off topic.
Do you know how to make your site mobile friendly?
My website looks weird when browsing from my iphone 4.
I’m trying to find a template or plugin that might be able to resolve this issue.
If you have any recommendations, please share. Cheers!
I was curious if you ever thought of changing the structure
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?
Hello, I enjoy reading all of your post. I like to write a little comment to support
you.
I always spent my half an hour to read this website’s posts everyday along
with a cup of coffee.
Hi! This is my first visit to your blog! We are a group of volunteers and
starting a new initiative in a community
in the same niche. Your blog provided us useful information to work on. You have done a wonderful job!
That is a great tip particularly to those new to
the blogosphere. Brief but very accurate information… Many thanks for sharing this one.
A must read post!
wonderful put up, very informative. I’m wondering why the opposite experts of
this sector do not notice this. You must continue your writing.
I am confident, you’ve a great readers’ base already!
Hello there! I know this is kinda off topic but
I was wondering which blog platform are you using for this site?
I’m getting sick and tired of WordPress because I’ve
had issues with hackers and I’m looking at options for another platform.
I would be great if you could point me in the direction of a
good platform.
Hi Dear, are you genuinely visiting this website daily, if so after that you will definitely obtain good know-how.
Magnificent beat ! I wish to apprentice whilst you amend your website,
how can i subscribe for a weblog web site? The account helped me a applicable deal.
I had been a little bit familiar of this your broadcast offered vibrant transparent
idea
significant review. In addition visit our site to see judi slot.
This excellent site has received likability originating from slot deposit pulsa video
games players in Negara sendiri. There will be loads of advisable promos if you ever join presently.
Thanks for the auspicious writeup. It in reality used to be a
entertainment account it. Look advanced to more added agreeable from you!
However, how could we keep up a correspondence?
Thank you a bunch for sharing this with all people you
actually know what you’re talking approximately! Bookmarked.
Please also talk over with my website =). We may have
a link trade contract between us
Link exchange is nothing else however it is just placing the other person’s web site link on your
page at suitable place and other person will also do similar
in favor of you.
This is really interesting, You’re a very skilled blogger.
I have joined your feed and look forward to seeking more
of your fantastic post. Also, I have shared your site
in my social networks!
Have you ever thought about including a little bit more than just your articles?
I mean, what you say is fundamental and all.
But just imagine if you added some great graphics or videos to give your posts more, “pop”!
Your content is excellent but with images and videos, this blog could certainly
be one of the greatest in its field. Excellent blog!
What a information of un-ambiguity and preserveness of precious knowledge regarding
unpredicted feelings.
Hi there! This is kind of off topic but I need some advice from an established blog.
Is it very difficult to set up your own blog?
I’m not very techincal but I can figure things out pretty quick.
I’m thinking about setting up my own but I’m not sure where
to start. Do you have any ideas or suggestions? Thanks
Every weekend i used to visit this web site, as i wish for enjoyment, for the reason that this this web page conations really good funny data too.
Hi it’s me, I am also visiting this site regularly, this site is
in fact nice and the users are genuinely sharing nice thoughts.
excellent points altogether, you just received a new reader.
What would you suggest about your put up that you made some days ago?
Any sure?
What’s up all, here every person is sharing such experience, thus it’s nice to
read this blog, and I used to pay a quick visit this blog everyday.
It’s genuinely very difficult in this active life to listen news on Television, therefore I simply use web for that reason, and obtain the most up-to-date news.
Superb post but I was wondering if you could write a litte
more on this subject? I’d be very thankful if you could elaborate
a little bit more. Thanks!
Spot on with this write-up, I really believe this website needs much more attention. I’ll probably be back again to read through more, thanks for
the info!
I loved as much as you’ll receive carried out right here.
The sketch is attractive, your authored subject matter stylish.
nonetheless, you command get got an edginess over that you wish
be delivering the following. unwell unquestionably come further formerly again since exactly
the same nearly very often inside case you shield this increase.
We are a gaggle of volunteers and opening a new scheme in our community.
Your site provided us with valuable information to work on. You’ve done an impressive
task and our entire community can be thankful to
you.
Write more, thats all I have to say. Literally,
it seems as though you relied on the video to make your point.
You definitely know what youre talking about, why waste your intelligence on just posting videos
to your site when you could be giving us something informative to read?
Thanks for finally talking about > Contoh Soal Pemrograman – Pola Segitiga Siku-siku – Umar faisol < Liked it!
great submit, very informative. I ponder why the opposite specialists of this sector don’t notice this.
You should proceed your writing. I’m confident, you have a huge readers’ base already!
Attractive section of content. I just stumbled upon your website and in accession capital to
assert that I acquire actually enjoyed account your
blog posts. Any way I will be subscribing to your feeds and even I achievement you access consistently rapidly.