Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nilai = int(input("Masukkan nilai : "))
- if nilai >= 90 :
- print("A")
- elif nilai >= 80 :
- print("B")
- elif nilai >= 65 :
- print("C")
- else :
- print("D")
- if nilai < 65 :
- print("D")
- elif nilai < 80 :
- print("C")
- elif nilai < 90 :
- print("B") :
- else :
- print("A")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement