mertbozkurt commited on
Commit
5fc7a11
1 Parent(s): b3a4464

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]>375 or arr[1]+arr[3]>375 or arr[1]+arr[4]>375 or arr[1]+arr[5]>375 or arr[2]+arr[3]>375 or arr[2]+arr[4]>375 or arr[2]+arr[5]>375 or arr[3]+arr[4]>375 or arr[3]+arr[5]>375 or arr[4]+arr[5]>375:
117
  myIndex.append(-1)
118
 
119
  else :
 
113
  myIndex.append(0)
114
 
115
  #2 or more answers
116
+ elif arr[1]+arr[2]>350 or arr[1]+arr[3]>350 or arr[1]+arr[4]>350 or arr[1]+arr[5]>350 or arr[2]+arr[3]>350 or arr[2]+arr[4]>350 or arr[2]+arr[5]>350 or arr[3]+arr[4]>350 or arr[3]+arr[5]>350 or arr[4]+arr[5]>350:
117
  myIndex.append(-1)
118
 
119
  else :