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.
https://bit.ly/3BPO76l zwil sysc 167206
cpfj rnvx 56451 dvcn iwmb 85847 toqm wvtw 108607
Oh my goodness! Incredible article dude! Many thanks, However I
am encountering difficulties with your RSS. I don’t understand the reason why I
can’t join it. Is there anyone else getting similar
RSS problems? Anyone that knows the solution will you kindly respond?
Thanks!!
You are so awesome! I do not suppose I have read through anything like this before.
So wonderful to find somebody with original thoughts on this topic.
Seriously.. thank you for starting this up.
This website is one thing that is needed on the web, someone with a little originality!
Feel free to surf to my homepage boost testosterone levels
I went over this web site and I believe you have a lot of excellent information,
saved to my bookmarks (:.
Review my webpage – seed sprouts
Hi there everybody, here every one is sharing such
familiarity, so it’s pleasant to read this blog, and I used to pay a
quick visit this weblog daily. http://ciaalis2u.com/
We absolutely love your blog and find many of your post’s to be exactly I’m looking for. can you offer guest writers to write content to suit your needs? I wouldn’t mind producing a post or elaborating on most of the subjects you write concerning here. Again, awesome weblog!|
Hi to every body, it’s my first visit of this web
site; this weblog includes amazing and in fact excellent material in favor of readers.
Rattling clear site, thank you for this post.
Feel free to visit my homepage testosterone levels
cialis prescription usa – Cialis online usa tadalafil soft 20 mg
steroids prednisone prednisolone
Wow, awesome blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your
web site is great, let alone the content! http://harmonyhomesltd.com/Ivermectinum-tablets.html
hydroxychloroquine effectiveness hydroxychloroquin
hydroxychloroquine side effects hydroxychloroquine covid 19
https://hydrochloroquinesol.com/ chloroquine primaquine
אני מאוד ממליץ על אתר ישראל נייט קלאב אתר מספר אחד בישראל לחיפוש נערות ליווי, דירות דיסקרטיות,עיסוי אירוטי
כנסו עכשיו ותראו לבד כמה מידע יש באתר הזה: נערות ליווי בחיפה
side effects for hydroxychloroquine chloroquine prophylaxis
ivermectin tablets
chlorochin buy hcq
ivermectin tablet 1mg – generic ivermectin for humans ivermectin 80 mg
This excellent website truly has all the information and facts I wanted about this subject and didn’t know who to ask. http://harmonyhomesltd.com/Ivermectinum-tablets.html
aralen medicine what does hydroxychloroquine do
aralen retail price does hydroxychloroquine cause hair loss
chloroquin chloroquine purchase
What’s up to all, how is all, I think every one is getting more from this website,
and your views are fastidious designed for new viewers.
plaquenil coupon aralen retail price
can i order lisinopril online
hydroxychloroquine generic how to make hydroxychloroquine
Some truly nice stuff on this website, I enjoy it.
my web site good balanced diet
side effects of hydroxychloroquine what is hydroxychloroquine sulfate
Admiring the persistence you put into your website and in depth information you offer.
It’s great to come across a blog every once in a while that isn’t the same
out of date rehashed information. Wonderful read! I’ve bookmarked your site and I’m including
your RSS feeds to my Google account. http://herreramedical.org/cialis
Hi there everyone, it’s my first pay a visit at this website, and
piece of writing is genuinely fruitful in support of me, keep up posting these content.
What’s up, its good piece of writing regarding media print,
we all understand media is a great source of information.
Superb blog! Do you have any recommendations for aspiring
writers? I’m planning to start my own website soon but I’m a little
lost on everything. Would you advise starting with a
free platform like WordPress or go for a paid option? There
are so many choices out there that I’m totally confused ..
Any recommendations? Many thanks!
http://terrapereira.com.br/index.php/piolhos/
online doctor to prescribe hydroxychloroquine where to buy hydroxychloroquine
buy ivermectin cream for humans – stromectol medicine ivermectin 1
hydroxychloroquine and zinc chloroquin
quinine vs chloroquine clonopine meaning
That is a really good tip particularly to those new to the blogosphere.
Brief but very precise information? Appreciate your sharing this one.
A must read post!
Here is my blog post – http://www.aniene.net/modules.php?name=Your_Account&op=userinfo&username=FairShasta
Great info. Lucky me I came across your website by accident (stumbleupon).
I’ve saved as a favorite for later! http://herreramedical.org/aurogra
Hey there are using WordPress for your blog platform? I’m new to
the blog world but I’m trying to get started and set up my own. Do you need any html coding knowledge to make your own blog?
Any help would be greatly appreciated!
Feel free to visit my page :: forum.charmanders-underground.com
cialis 50mg price
Very nice layout and superb content material, very little
else we need :D.
my blog cannabis seeds exist
best online casino real money – hollywood casino online real money online gambling
I think the admin of this website is genuinely working hard in support of his site, as here every
stuff is quality based information.
Paragraph writing is also a fun, if you know afterward you can write otherwise it is complicated
to write. http://herreramedical.org/acyclovir
Good day very cool website!! Man .. Beautiful .. Wonderful ..
I’ll bookmark your site and take the feeds additionally?
I’m satisfied to find so many helpful information here within the post, we want
work out more strategies in this regard, thank you for sharing.
. . . . . http://harmonyhomesltd.com/Ivermectinum-during-pregnancy.html
I’m really loving the theme/design of your weblog. Do you ever run into any
browser compatibility issues? A couple of my blog readers have complained about my blog not
operating correctly in Explorer but looks
great in Safari. Do you have any suggestions to help fix this
issue?
My web site: weed doctor websitehope