from js import document,alert import random def shuffle(*ags, **kws): list_nama = list(document.getElementById('list_nama').value.split()); data = str(document.getElementById('data').value); terpilih = random.randint(0, len(list_nama)-1) pyscript.write("result_shuffle", "Kandidat Terpilih Yang Menjadi Ketua/PJ " + str(data) + " Adalah = " + list_nama[terpilih])
text teacher

Enter a List of Names of Candidate Participants Who Will Be Randomized and Elected as Chairman or PIC:


Chairman or PIC Of What?




Result:


Home About