mertbozkurt commited on
Commit
5784728
1 Parent(s): 15e67c0

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -113,7 +113,7 @@ def user_answers(num_questions,myPixelVal):
113
  myIndex.append(0)
114
 
115
  #2 or more answers
116
- elif arr[1]+arr[2]>thresh or arr[1]+arr[3]>thresh or arr[1]+arr[4]>thresh or arr[1]+arr[5]> thresh or arr[2]+arr[3] thresh or arr[2]+arr[4]> thresh or arr[2]+arr[5]> thresh or arr[3]+arr[4]> thresh or arr[3]+arr[5]> thresh or arr[4]+arr[5]>thresh:
117
  myIndex.append(-1)
118
 
119
  else :
 
113
  myIndex.append(0)
114
 
115
  #2 or more answers
116
+ elif arr[1]+arr[2]>thresh or arr[1]+arr[3]>thresh or arr[1]+arr[4]>thresh or arr[1]+arr[5]> thresh or arr[2]+arr[3]> thresh or arr[2]+arr[4]> thresh or arr[2]+arr[5]> thresh or arr[3]+arr[4]> thresh or arr[3]+arr[5]> thresh or arr[4]+arr[5]>thresh:
117
  myIndex.append(-1)
118
 
119
  else :