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.
The secret story before Weiergang rescued men. 2018/09/06 Editor/. 20 years ago, Weiergang came out and saved the sex lives of many men (and their sexual partners). However, in Veergang, the men’s bedside table was captured.
Tremendous things here. I’m very happy to peer your article.
Thank you so much and I am taking a look forward to contact you.
Will you kindly drop me a mail?
stromectol pill price
ivermectin humans
Good day! This is my first visit to your blog! We are a group of
volunteers and starting a new project in a community in the same niche.
Your blog provided us useful information to work on. You have done a outstanding job!
I know this site offers quality based articles or reviews and extra data, is there any other site
which offers these things in quality?
stromectol 3 mg price
generic ivermectin for humans
order stromectol online
where can i buy oral ivermectin
[url=https://ivermectinbestbuy.com/]ivermectin 10 ml[/url]
I visited multiple sites however the audio feature for audio songs existing at this website is really wonderful.
ivermectin 6mg dosage
stromectol for head lice
No matter if some one searches for his required thing, thus he/she wishes to be available that in detail,
therefore that thing is maintained over here.
where to buy stromectol
[url=https://worxtabs.com/]ivermectin lotion 0.5[/url]
stromectol 3 mg price
ivermectin new zealand
[url=https://genericivermectin.com/]ivermectin 3mg dose[/url]
stromectol drug
ivermectin buy australia
It’s hard to come by knowledgeable people in this particular subject, however, you
sound like you know what you’re talking about!
Thanks http://herreramedical.org/azithromycin
Wow, this piece of writing is nice, my younger sister is analyzing such
things, so I am going to convey her.
[url=https://worxtabs.com/]ivermectin 6 mg tablets[/url]
Good day! I just wish to give you a big thumbs up for your
excellent information you have right here on this post.
I am returning to your site for more soon.
ivermectin iv
If some one wishes to be updated with most recent technologies therefore he must be pay a quick visit this site
and be up to date daily.
[url=https://sildenafilhg.com/]where can i buy sildenafil 20mg[/url]
[url=http://cialisex.com/]where to buy generic tadalafil[/url]
cialis 2.5 mg tablet
hi!,I like your writing so a lot! percentage we be in contact more about your article
on AOL? I require a specialist on this area to unravel my problem.
Maybe that’s you! Having a look ahead to see you.
Hey There. I found your blog using msn. This is a really well
written article. I’ll be sure to bookmark it and come back to read more of your useful information.
Thanks for the post. I’ll certainly comeback. http://droga5.net/
clomid 25mg – order clomid buy clomiphene online
Wow, superb blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your web site is great, let alone the content!
generic tadalafil
best tadalafil tablets in india
amoxicillin online uk paypal
[url=https://crtabs.com/]quineprox 400[/url]
Hi there great website! Does running a blog like this take a massive amount work?
I’ve very little knowledge of computer programming but I was hoping to start my own blog in the near
future. Anyways, if you have any ideas or tips for new blog owners please share.
I understand this is off topic but I simply wanted to
ask. Kudos!
viagra 50mg price canada
Hi Basically, the blue Viagra is a well-known old medicine, while the yellow Cialis has a long-lasting effect. As for Levitron, the side effects caused by the lower dose are less, so that Taiwan’s annual sales can be expected to reach. Multi-billion dollar market.
buy modafinil online no prescription
ivermectin price
This paragraph provides clear idea in support of the new visitors of blogging,
that really how to do blogging and site-building.
Hello Dear, are you truly visiting this website regularly, if so
then you will without doubt obtain pleasant knowledge. http://herreramedical.org/azithromycin
cheap generic cialis 60 mg
I am really impressed with your writing skills as well as with the layout on your weblog.
Is this a paid theme or did you modify it yourself?
Anyway keep up the nice quality writing, it is rare to see
a nice blog like this one nowadays.
prednisone medication
online pharmacy delivery dubai