Skip to content

Commit

Permalink
Update FirstDraft.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne-oL authored Apr 24, 2018
1 parent 10ee688 commit 5a15fa8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions FirstDraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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)]
Expand Down

0 comments on commit 5a15fa8

Please sign in to comment.