This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// igrasias edom script version 18/01/23 | |
// presses all radio button inputs with a value of 'Sangat Puas' | |
var opt = document.getElementsByClassName("opt"); | |
for(var i = 0; i < opt .length; i++){ | |
if(opt [i].parentElement.nextElementSibling.innerHTML === 'Sangat puas'){ | |
opt [i].click(); | |
} | |
} | |
// if there is a text field, gives the text field value with invisible space | |
if (document.querySelector('textarea')) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lipat Kertas Gambar GemasTIK XIV (2021) | |
# ini adalah fungsi untuk menghitung jumlah lipatan kertas gambar | |
def lkg(N,jumlahKertas): | |
i = 1 | |
while i <= jumlahKertas: | |
n = N[i-1] | |
m = n[2] | |
j = 1 | |
# melipat sisi kertas yang paling besar | |
while j <= m: |
- Andri Junaedi | @andrijunaedi
- Glen Davis Kusuma | @glenkusuma
Tentukan jumlah susunan yang akan diperoleh, jika hendak menghabiskan uang sejumlah $100 untuk tepat membeli 100 ayam, kriteria jenis ayam dan harganya ditentukan berikut: