From 5a15fa834b0d4e23a9bc9b93321709e054a2b14c Mon Sep 17 00:00:00 2001 From: Ne-oL <38661257+Ne-oL@users.noreply.github.com> Date: Tue, 24 Apr 2018 14:35:57 +0200 Subject: [PATCH] Update FirstDraft.py --- FirstDraft.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/FirstDraft.py b/FirstDraft.py index 021d987..bcb42e3 100644 --- a/FirstDraft.py +++ b/FirstDraft.py @@ -6,11 +6,11 @@ path = raw_input("enter the location and name of the output file: ") pairwise_file = open(path, "w") -# Decide the Number of needed factors for comparision +# Decide the Number of Factors as well as their names No_Factors = int(raw_input("Please Enter the number of factors (3-15): ")) if No_Factors > 15 or No_Factors < 3: - print("The Number of Factors you have chosen can not be calculated, Exiting the program...") + p rint("The Number of Factors you have chosen can not be calculated, Exiting the program...") raise SystemExit n = 0 factors = {} @@ -88,6 +88,8 @@ def weights(): print() x += 1 +# Normalization & weight determination + print("priority vector or weight Values") x = 0 priority_vector = [0 for i in range(No_Factors)]