Berikut adalah contoh soal menggunakan bahasa pemrograman Python.
Buatlah program Python untuk menghitung biaya parkir di sebuah rumah sakit berdasarkan lama parkir. Lama parkir dihitung dari selisih jam masuk dan jam keluar. Jam masuk dan jam keluar diisi 1-24. Biaya parkir adalah Rp. 2.000,- per jam.
Contoh tampilan program:
Jam masuk : 10 (input)
Jam keluar : 14 (input)
Lama parkir : 4 jam (keluaran program)
Biaya parkir : 8000 (keluaran program)
Berikut kode program yang dapat dibuat untuk menyelesaikan soal tersebut.
jam_masuk = int(input("Jam Masuk : "))
jam_keluar = int(input("Jam Keluar : "))
lama_parkir = jam_keluar - jam_masuk
biaya_parkir = lama_parkir * 2000
print("Lama Parkir : ", lama_parkir)
print("Biaya Parkir : ", biaya_parkir)
http://ucuzescortlar.com/adana-escort/
rx canada
Thank you for the auspicious writeup. It in truth was a enjoyment account it.
Glance complex to more added agreeable from you!
By the way, how can we be in contact?
Wonderful blog! I found it while searching 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!
Thank you
Hi! Would you mind if I share your blog with my zynga group?
There’s a lot of people that I think would really appreciate your
content. Please let me know. Thanks
Hello there! This is my first visit to your
blog! We are a team of volunteers and starting a
new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have
done a extraordinary job!
viagra memes sildenafil over the counter sildenafil online canada
Thanks so much for the article.Thanks Again. Want more.
Thanks so much for the article.Thanks Again. Want more.
I really enjoy the article post.Really thank you! Great.
online drug
sampjam 00291a3f2f https://www.guilded.gg/lipiccisons-Huskies/overview/news/zy4PMdzy
http://www.istanbulmasajsalonuu.com/masaj/basaksehir-mutlu-son/
http://www.samsunmasajsalonuu.com/masaj/asarcik-mutlu-son/
http://www.istanbulmasajsalonuu.com/masaj/atasehir-mutlu-son/
http://www.hataymasajsalonuu.com/masaj/samandag-mutlu-son/
http://www.istanbulmasajsalonuu.com/masaj/sisli-mutlu-son/
http://www.istanbulmasajsalonuu.com/masaj/adalar-mutlu-son/
http://www.samsunmasajsalonuu.com/masaj/salipazari-mutlu-son/
http://www.hataymasajsalonuu.com/masaj/arsuz-mutlu-son
http://www.hataymasajsalonuu.com/masaj/kirikhan-mutlu-son/
http://www.kayserimasajsalonuu.com/masaj/yahyali-mutlu-son/
how often can you take cialis how much does cialis cost buying generic cialis
Excellent! So far, this is the best resource we’ve found for learning more about the subject. Thank you so much. I appreciate the work you’ve done on this subject.
https://programsasvirtualespc.net
Первый оскар фильм смотреть онлайн
Первый оскар фильм смотреть онлайн
Первый оскар фильм смотреть онлайн
nisnan f50e787ee1 https://wakelet.com/wake/SkSihEVs9P_87Nfs-qjh1
Первый оскар фильм смотреть онлайн
Первый оскар фильм смотреть онлайн
eleyeli f50e787ee1 https://wakelet.com/wake/upRsZPFHvmqcaxsSGsnq7
eldlor f50e787ee1 https://wakelet.com/wake/4aYXF_WHUmdmvMA5egx-t
vanytanc f50e787ee1 https://wakelet.com/wake/o9W5MaA2LdqnWtA7anuPf
yansadh f50e787ee1 https://wakelet.com/wake/eC2ZMcwuFQgKOgboIHekE
emmber f50e787ee1 https://wakelet.com/wake/ptkX2zSbPH8Gco3AJRuIw
ilbfre f50e787ee1 https://wakelet.com/wake/J0-_7kV5k-4BVhr4ffc_M
gavrula f50e787ee1 https://wakelet.com/wake/WE31Bbiuy4w38_155AJ-5
orlodan f50e787ee1 https://wakelet.com/wake/rvg9MVUPHytVzlqzvMDyw
chrerr f50e787ee1 https://wakelet.com/wake/ejH1swsk5abgxDM8O-yLB
kahlhel f50e787ee1 https://wakelet.com/wake/eP8hnuFfDp-HR94nAigoY
balherb f50e787ee1 https://wakelet.com/wake/d60ZKey2Y-YH9n07CjzeF
truvas f50e787ee1 https://wakelet.com/wake/G8-MHKSB21jpcwPPdef6Q
giovvama f50e787ee1 https://wakelet.com/wake/i6DlHn5z19RjG9tGHan5p
vasysaf f50e787ee1 https://wakelet.com/wake/ubS7fFjaxP1o8rW-5Y5YT
tarbayn f50e787ee1 https://wakelet.com/wake/fZzoQltiMjFdt_ig1F65J
injcull f50e787ee1 https://wakelet.com/wake/rRlpehsnfEA33M6-kkQ1E
natfil f50e787ee1 https://wakelet.com/wake/hiarQoLnf5n3F2ycm-_2q
elgiomol f50e787ee1 https://wakelet.com/wake/xpBEW2Jtj__xtuRTMQXs2
http://ucuzescortlar.com/hatay-escort/kirikhan-escort/
http://ucuzescortlar.com/igdir-escort/tuzluca-escort/