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.
Way cool! Some extremely valid points! I appreciate you writing this
article plus the rest of the website is also very
good.
My spouse and I stumbled over here from a different web page and thought I might as well check things
out. I like what I see so i am just following you. Look forward to
finding out about your web page yet again.
order cyclobenzaprine pill
http://erythromycin1m.com/# api erythromycin
Thanks for your marvelous posting! I definitely enjoyed reading it, you might be a great author.
I will make certain to bookmark your blog and will eventually come
back in the future. I want to encourage you to ultimately continue your great work, have a nice holiday weekend!
http://erythromycin1m.com/# erythromycin vs azithromycin
how To Take Cialis Before Sex?
https://erythromycinn.com/# how to apply erythromycin
After going over a few of the articles on your web page, I truly
like your way of blogging. I book-marked it to my bookmark webpage list and
will be checking back soon. Please check out my website as well and let me know your opinion.
dog antibiotics without vet prescription online prescription for ed meds
free slots instant play
bonus machine slot
guide casinos
I am sure this piece of writing has touched all the internet viewers, its really really fastidious post
on building up new blog.
free on line slots
inferno login slots
super slots
Undeniably believe that which you said. Your favorite reason appeared
to be on the web the easiest thing to be aware of.
I say to you, I certainly get irked while people consider worries that they just do not know about.
You managed to hit the nail upon the top and defined out the whole thing without having side-effects ,
people could take a signal. Will likely
be back to get more. Thanks
بازار کار آنلاین با شرکت در دوره سئو
بازار کار با شرکت در دوره سئو
https://finallkhabar.ir/بازار-کار-آنلاین-با-شرکت-در-دوره-سئو/
erythromycin vs tetracycline http://erythromycinn.com/#
It’s amazing to pay a visit this website and reading the views of
all friends regarding this post, while I am also zealous of getting experience.
free vegas slots
casino slot machines
igt free slots no download
It is appropriate time to make a few plans for the future and
it’s time to be happy. I’ve learn this publish and if I may just I desire to suggest you
some interesting issues or tips. Perhaps you could write subsequent
articles relating to this article. I want to learn more things approximately
it!
penny slots for free
hollywood fun slots
slot machine email
Hi there, i read your blog from time to time and i
own a similar one and i was just wondering if you get a lot
of spam feedback? If so how do you reduce it, any plugin or anything you can recommend?
I get so much lately it’s driving me insane so
any assistance is very much appreciated.
Today, 55% of businesses invest in professional search engine optimization (SEO) services. Before your company even considers SEO services, though, it’s critical to answer these two questions: What are SEO services, and what should an SEO company’s services include?
erythromycin definition http://erythromycinn.com/#
slots lotty manna
bonus slots
ceasars free slots
Actually when someone doesn’t know after that its up to other visitors that
they will help, so here it takes place.
how Cialis Works In The Body?