Advertisement
cindex1a

soal3

Apr 18th, 2020
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. # soal 3
  2. no1 = int(input("masukkan nomor 1 : "))
  3. no2 = int(input("masukkan nomor 2 : "))
  4. hasil = no1+no2
  5.  
  6. if hasil >= 100:
  7.     print("itu angka yang besar")
  8. elif hasil <= 100:
  9.     print("itu angka yang kecil")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement