Rev 8045 |
Show entire file |
Ignore whitespace |
Details |
Blame |
Last modification |
View Log
| RSS feed
| Rev 8045 |
Rev 8085 |
| Line 165... |
Line 165... |
| 165 |
print "number_of_colors_score" + str(number_of_colors_score)
|
165 |
print "number_of_colors_score" + str(number_of_colors_score)
|
| 166 |
|
166 |
|
| 167 |
if category == "Tablets":
|
167 |
if category == "Tablets":
|
| 168 |
score = (type_score * 30.0 + screen_size_score * 50.0 + screen_resolution_score * 15.0 + number_of_colors_score * 5.0)/100
|
168 |
score = (type_score * 30.0 + screen_size_score * 50.0 + screen_resolution_score * 15.0 + number_of_colors_score * 5.0)/100
|
| 169 |
else :
|
169 |
else :
|
| 170 |
score = (type_score * 30.0 + screen_size_score * 25.0 + screen_resolution_score * 20.0 + number_of_colors_score * 5.0 + 20.0)/100
|
170 |
score = (type_score * 30.0 + screen_size_score * 25.0 + screen_resolution_score * 20.0 + number_of_colors_score * 5.0 + 20.0*10.0)/100
|
| 171 |
|
171 |
|
| 172 |
return score
|
172 |
return score
|