Wizard Book


Programming Python, Web, Android

Python : Sistem Pendukung Keputusan Weighted Product (SPK WP)

Perhitungan Rumus SPK WP (Weighted Product) Menggunakan Class Python WP

from wp_contohprogram_com import WP_

objwp = WP_()
hsl = objwp.calculate_(
    ["Galaxy", "iPhone", "BB", "Lumia"],
    ["Harga", "Kualitas", "Fitur", "Populer", "Purna Jual", "Keawetan"],
    ["cost", "benefit", "benefit", "benefit", "benefit", "benefit"],
    [5, 4, 5, 3, 2, 1],
    [
        [3500, 70, 10, 80, 3000, 36],
        [4500, 90, 10, 60, 2500, 48],
        [4000, 80, 9, 90, 2000, 48],
        [4000, 70, 8, 50, 1500, 60]
    ]
)

print(objwp.step_())
print(hsl)

email : contohprogram.com@gmail.com
WA : +6289671400363