import kalkulator as k print k.tambah(100, 20) print k.kurang(100, 20) print k.kali(100, 20) print k.bagi(100, 20)
from kalkulator import tambah, kurang print tambah(10, 20) print kurang(10, 20) print kali(10, 20) # error!
import kalkulator print kalkulator.tambah(100, 20) print kalkulator.kurang(100, 20) print kalkulator.kali(100, 20) print kalkulator.bagi(100, 20)