Monday, July 26, 2021

Pemrograman Python Grade Nilai


INPUT :


OUTPUT :


Script Pyhton : 


print ("===========================================")
print ("=        Kuprakapra.blogspot.com          =")
print ("===========================================")
print ("")
print ("            PROGRAM GRADE NILAI             ")
print ("-------------------------------------------")

nilai = float(input('Masukkan nilai: '))

if nilai >=90 :
  print('Predikat A')
elif nilai >= 80:
  print('Predikat B')
elif nilai >= 60:
  print('Predikat C')
elif nilai >= 40:
  print('Predikat D')
else:
  print('Daglog Makanya Belajar !!!')
print ("")
print (" follow me on instagram : @_nandakurniawan ")
print ("")

No comments: