Python Programming, Machine Learning, Data Scientist, Data Processing.
>= 40: grade = "D" else: grade = "E" print("Grade: %s" % grade) 10. Perulangan menggunakan for Sample program : ulang = 10 for i in range(ulang): print ("Perulangan ke-" + str(i)) 11. Perulangan menggunakan while Sample program : jawab = 'ya' hitung = 0 while(jawab == 'ya'): hitung += 1 jawab =