Page 1

Student ID: 10, P-Value: 3.63e-10

Nearest Neighbor ID: 23

Student (left) and Nearest Neighbor (right).


t1grade_num = int(input())t1grade_num = int(input())
2if 95 <= grade_num <=100:2if 95 <= grade_num <=100:
3    grade = "A+"3    grade = "A+"
4elif 90 <= grade_num <= 94:4elif 90 <= grade_num <= 94:
5    grade = "A"5    grade = "A"
6elif 80 <= grade_num <= 89:6elif 80 <= grade_num <= 89:
7    grade = "B+"7    grade = "B+"
8elif 70 <= grade_num <= 79:8elif 70 <= grade_num <= 79:
9    grade = "B"9    grade = "B"
10elif 60 <= grade_num <= 69:10elif 60 <= grade_num <= 69:
11    grade = "C+"11    grade = "C+"
12elif 50 <= grade_num <= 59:12elif 50 <= grade_num <= 59:
13    grade = "C"13    grade = "C"
14elif 0 <= grade_num <= 49:14elif 0 <= grade_num <= 49:
15    grade = "F"15    grade = "F"
16elif grade_num > 100:16elif grade_num > 100:
17    grade = "invalid score"17    grade = "invalid score"
18elif grade_num < 0:18elif grade_num < 0:
19    grade = "invalid score"19    grade = "invalid score"
20print(grade)20print(grade)
21i = input()21i = input()
22if(i == "A"):22if(i == "A"):
23    print ("First Letter")23    print ("First Letter")
24elif(i == "a"):24elif(i == "a"):
25    print ("First Letter")25    print ("First Letter")
26elif(i == "0"):26elif(i == "0"):
27    print ("First Number")27    print ("First Number")
28red_amount = int(input())28red_amount = int(input())
29green_amount = int(input())29green_amount = int(input())
30blue_amount = int(input())30blue_amount = int(input())
31min_value = red_amount31min_value = red_amount
32if green_amount < min_value:32if green_amount < min_value:
33    min_value = green_amount33    min_value = green_amount
34if blue_amount < min_value:34if blue_amount < min_value:
35    min_value = blue_amount35    min_value = blue_amount
36red_amount = red_amount - min_value36red_amount = red_amount - min_value
37green_amount = green_amount - min_value37green_amount = green_amount - min_value
38blue_amount = blue_amount - min_value38blue_amount = blue_amount - min_value
39print(red_amount, green_amount, blue_amount)39print(red_amount, green_amount, blue_amount)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 2

Student ID: 23, P-Value: 3.63e-10

Nearest Neighbor ID: 10

Student (left) and Nearest Neighbor (right).


t1grade_num = int(input())t1grade_num = int(input())
2if 95 <= grade_num <=100:2if 95 <= grade_num <=100:
3    grade = "A+"3    grade = "A+"
4elif 90 <= grade_num <= 94:4elif 90 <= grade_num <= 94:
5    grade = "A"5    grade = "A"
6elif 80 <= grade_num <= 89:6elif 80 <= grade_num <= 89:
7    grade = "B+"7    grade = "B+"
8elif 70 <= grade_num <= 79:8elif 70 <= grade_num <= 79:
9    grade = "B"9    grade = "B"
10elif 60 <= grade_num <= 69:10elif 60 <= grade_num <= 69:
11    grade = "C+"11    grade = "C+"
12elif 50 <= grade_num <= 59:12elif 50 <= grade_num <= 59:
13    grade = "C"13    grade = "C"
14elif 0 <= grade_num <= 49:14elif 0 <= grade_num <= 49:
15    grade = "F"15    grade = "F"
16elif grade_num > 100:16elif grade_num > 100:
17    grade = "invalid score"17    grade = "invalid score"
18elif grade_num < 0:18elif grade_num < 0:
19    grade = "invalid score"19    grade = "invalid score"
20print(grade)20print(grade)
21i = input()21i = input()
22if(i == "A"):22if(i == "A"):
23    print ("First Letter")23    print ("First Letter")
24elif(i == "a"):24elif(i == "a"):
25    print ("First Letter")25    print ("First Letter")
26elif(i == "0"):26elif(i == "0"):
27    print ("First Number")27    print ("First Number")
28red_amount = int(input())28red_amount = int(input())
29green_amount = int(input())29green_amount = int(input())
30blue_amount = int(input())30blue_amount = int(input())
31min_value = red_amount31min_value = red_amount
32if green_amount < min_value:32if green_amount < min_value:
33    min_value = green_amount33    min_value = green_amount
34if blue_amount < min_value:34if blue_amount < min_value:
35    min_value = blue_amount35    min_value = blue_amount
36red_amount = red_amount - min_value36red_amount = red_amount - min_value
37green_amount = green_amount - min_value37green_amount = green_amount - min_value
38blue_amount = blue_amount - min_value38blue_amount = blue_amount - min_value
39print(red_amount, green_amount, blue_amount)39print(red_amount, green_amount, blue_amount)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 3

Student ID: 399, P-Value: 7.53e-10

Nearest Neighbor ID: 10

Student (left) and Nearest Neighbor (right).


f1grade_num = int(input())f1grade_num = int(input())
2if 95 <= grade_num <=100:2if 95 <= grade_num <=100:
3    grade = "A+"3    grade = "A+"
4elif 90 <= grade_num <= 94:4elif 90 <= grade_num <= 94:
5    grade = "A"5    grade = "A"
6elif 80 <= grade_num <= 89:6elif 80 <= grade_num <= 89:
7    grade = "B+"7    grade = "B+"
8elif 70 <= grade_num <= 79:8elif 70 <= grade_num <= 79:
9    grade = "B"9    grade = "B"
10elif 60 <= grade_num <= 69:10elif 60 <= grade_num <= 69:
11    grade = "C+"11    grade = "C+"
12elif 50 <= grade_num <= 59:12elif 50 <= grade_num <= 59:
13    grade = "C"13    grade = "C"
14elif 0 <= grade_num <= 49:14elif 0 <= grade_num <= 49:
15    grade = "F"15    grade = "F"
16elif grade_num > 100:16elif grade_num > 100:
17    grade = "invalid score"17    grade = "invalid score"
18elif grade_num < 0:18elif grade_num < 0:
19    grade = "invalid score"19    grade = "invalid score"
n20print(grade)i = input()n20print(grade)
21i = input()
21if(i == "A"):22if(i == "A"):
22    print ("First Letter")23    print ("First Letter")
23elif(i == "a"):24elif(i == "a"):
24    print ("First Letter")25    print ("First Letter")
25elif(i == "0"):26elif(i == "0"):
t26    print ("First Number")red_amount = int(input())t27    print ("First Number")
28red_amount = int(input())
27green_amount = int(input())29green_amount = int(input())
28blue_amount = int(input())30blue_amount = int(input())
29min_value = red_amount31min_value = red_amount
30if green_amount < min_value:32if green_amount < min_value:
31    min_value = green_amount33    min_value = green_amount
32if blue_amount < min_value:34if blue_amount < min_value:
33    min_value = blue_amount35    min_value = blue_amount
34red_amount = red_amount - min_value36red_amount = red_amount - min_value
35green_amount = green_amount - min_value37green_amount = green_amount - min_value
36blue_amount = blue_amount - min_value38blue_amount = blue_amount - min_value
37print(red_amount, green_amount, blue_amount)39print(red_amount, green_amount, blue_amount)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 4

Student ID: 242, P-Value: 8.31e-07

Nearest Neighbor ID: 273

Student (left) and Nearest Neighbor (right).


n1score=int(input()) n1score=int(input("")) 
2grade=""2grade=""
3if score>=0 and score<=100: 3if score>=0 and score<=100: 
4    if score>=95:4    if score>=95:
n5         grade="A+" n5        grade="A+" 
6    elif score>=90:6    elif score>=90:
n7         grade="A" n7        grade="A" 
8    elif score>=80:8    elif score>=80:
n9         grade="B+" n9        grade="B+" 
10    elif score>=70:10    elif score>=70:
11        grade="B" 11        grade="B" 
12    elif score>=60:12    elif score>=60:
13        grade="C+" 13        grade="C+" 
14    elif score>=50:14    elif score>=50:
15        grade="C" 15        grade="C" 
16    else:16    else:
17        grade="F" 17        grade="F" 
18    print(grade) 18    print(grade) 
19else:19else:
n20    print("invalid score") i =(input())n20    print("invalid score") i = str(input())
21if(i == 'A'):21if (i == 'A'):
22    print ("First Letter")22    print ("First Letter")
23elif(i == 'a'):23elif(i == 'a'):
24    print ("First Letter")24    print ("First Letter")
t25elif(i == '0'):t25else: 
26    (i == "0")
26    print ("First Number")27    print ("First Number")
27red = int(input())28red = int(input())
28green = int(input())29green = int(input())
29blue = int(input())30blue = int(input())
30color = (red, green, blue)31color = (red, green, blue)
31min_val = min(color)32min_val = min(color)
32red_without_gray = red - min_val33red_without_gray = red - min_val
33green_without_gray = green - min_val34green_without_gray = green - min_val
34blue_without_gray = blue - min_val35blue_without_gray = blue - min_val
35color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)36color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)
36print(red_without_gray,green_without_gray,blue_without_gray)37print(red_without_gray,green_without_gray,blue_without_gray)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 5

Student ID: 273, P-Value: 8.31e-07

Nearest Neighbor ID: 242

Student (left) and Nearest Neighbor (right).


n1score=int(input("")) n1score=int(input()) 
2grade=""2grade=""
3if score>=0 and score<=100: 3if score>=0 and score<=100: 
4    if score>=95:4    if score>=95:
n5        grade="A+" n5         grade="A+" 
6    elif score>=90:6    elif score>=90:
n7        grade="A" n7         grade="A" 
8    elif score>=80:8    elif score>=80:
n9        grade="B+" n9         grade="B+" 
10    elif score>=70:10    elif score>=70:
11        grade="B" 11        grade="B" 
12    elif score>=60:12    elif score>=60:
13        grade="C+" 13        grade="C+" 
14    elif score>=50:14    elif score>=50:
15        grade="C" 15        grade="C" 
16    else:16    else:
17        grade="F" 17        grade="F" 
18    print(grade) 18    print(grade) 
19else:19else:
n20    print("invalid score") i = str(input())n20    print("invalid score") i =(input())
21if (i == 'A'):21if(i == 'A'):
22    print ("First Letter")22    print ("First Letter")
23elif(i == 'a'):23elif(i == 'a'):
24    print ("First Letter")24    print ("First Letter")
t25else: t25elif(i == '0'):
26    (i == "0")
27    print ("First Number")26    print ("First Number")
28red = int(input())27red = int(input())
29green = int(input())28green = int(input())
30blue = int(input())29blue = int(input())
31color = (red, green, blue)30color = (red, green, blue)
32min_val = min(color)31min_val = min(color)
33red_without_gray = red - min_val32red_without_gray = red - min_val
34green_without_gray = green - min_val33green_without_gray = green - min_val
35blue_without_gray = blue - min_val34blue_without_gray = blue - min_val
36color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)35color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)
37print(red_without_gray,green_without_gray,blue_without_gray)36print(red_without_gray,green_without_gray,blue_without_gray)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 6

Student ID: 333, P-Value: 8.91e-07

Nearest Neighbor ID: 79

Student (left) and Nearest Neighbor (right).


n1score=int(input())n1score=int(input()) 
2grade=""
2if score>=0 and score<=100:3if score>=0 and score<=100: 
3    if score>=95:4    if score>=95:
4        grade="A+"5        grade="A+"
5    elif score>=90:6    elif score>=90:
6        grade="A" 7        grade="A" 
7    elif score>=80:8    elif score>=80:
8        grade="B+" 9        grade="B+" 
9    elif score>=70:10    elif score>=70:
10        grade="B" 11        grade="B" 
11    elif score>=60:12    elif score>=60:
n12        grade="C+"n13        grade="C+" 
13    elif score>=50:14    elif score>=50:
n14        grade="C" n15        grade="C"
15    else:16    else:
16        grade="F" 17        grade="F" 
17    print(grade) 18    print(grade) 
18else:19else:
n19    print("invalid score")i = (input())n20    print("invalid score")i=(input())
20if(i == 'A'):21if(i=='A'):
22    print("First Letter")    
23elif(i=='a'):
21    print("First Letter")24    print("First Letter")
t22elif(i == 'a'):t
23    print ("First Letter")
24elif(i == "0"):25elif(i=="0"):
25    print ("First Number")26    print("First Number")
26red = int(input())27red = int(input())
27green = int(input())28green = int(input())
28blue = int(input())29blue = int(input())
29color = (red, green, blue)30color = (red, green, blue)
30min_val = min(color)31min_val = min(color)
31red_without_gray = red - min_val32red_without_gray = red - min_val
32green_without_gray = green - min_val33green_without_gray = green - min_val
33blue_without_gray = blue - min_val34blue_without_gray = blue - min_val
34color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)35color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)
35print(red_without_gray,green_without_gray,blue_without_gray)36print(red_without_gray,green_without_gray,blue_without_gray)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 7

Student ID: 79, P-Value: 8.91e-07

Nearest Neighbor ID: 333

Student (left) and Nearest Neighbor (right).


n1score=int(input()) n1score=int(input())
2grade=""
3if score>=0 and score<=100: 2if score>=0 and score<=100:
4    if score>=95:3    if score>=95:
5        grade="A+"4        grade="A+"
6    elif score>=90:5    elif score>=90:
7        grade="A" 6        grade="A" 
8    elif score>=80:7    elif score>=80:
9        grade="B+" 8        grade="B+" 
10    elif score>=70:9    elif score>=70:
11        grade="B" 10        grade="B" 
12    elif score>=60:11    elif score>=60:
n13        grade="C+" n12        grade="C+"
14    elif score>=50:13    elif score>=50:
n15        grade="C"n14        grade="C" 
16    else:15    else:
17        grade="F" 16        grade="F" 
18    print(grade) 17    print(grade) 
19else:18else:
n20    print("invalid score")i=(input())n19    print("invalid score")i = (input())
21if(i=='A'):20if(i == 'A'):
22    print("First Letter")    
23elif(i=='a'):
24    print("First Letter")21    print("First Letter")
tt22elif(i == 'a'):
23    print ("First Letter")
25elif(i=="0"):24elif(i == "0"):
26    print("First Number")25    print ("First Number")
27red = int(input())26red = int(input())
28green = int(input())27green = int(input())
29blue = int(input())28blue = int(input())
30color = (red, green, blue)29color = (red, green, blue)
31min_val = min(color)30min_val = min(color)
32red_without_gray = red - min_val31red_without_gray = red - min_val
33green_without_gray = green - min_val32green_without_gray = green - min_val
34blue_without_gray = blue - min_val33blue_without_gray = blue - min_val
35color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)34color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)
36print(red_without_gray,green_without_gray,blue_without_gray)35print(red_without_gray,green_without_gray,blue_without_gray)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 8

Student ID: 249, P-Value: 3.06e-05

Nearest Neighbor ID: 341

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
2if score > 100 or score < 0:2if score > 100 or score < 0:
3    print('invalid score')3    print('invalid score')
4if 0 <= score < 50:4if 0 <= score < 50:
5    print('F')5    print('F')
n6if 50<= score < 60:n6if 50 <= score < 60:
7    print('C')7    print('C')
8if 60 <= score < 70:8if 60 <= score < 70:
9    print('C+')9    print('C+')
n10if 70<= score < 80:n10if 70 <= score < 80:
11    print('B')11    print('B')
12if 80 <= score < 90:12if 80 <= score < 90:
13    print('B')13    print('B')
n14if 90<= score < 95:n14if 90 <= score < 95:
15    print('A')15    print('A')
16if 95 <= score < 100:16if 95 <= score < 100:
n17    print('A+')n17    print('A+')i = input()
18i = input()
19if(i == 'A'):18if(i == 'A'):
20    print("First Letter")19    print("First Letter")
n21elif(i == "a"):n20elif(i == 'a'):
22    print("First Letter")21    print("First Letter")
n23elif (i == "0"):n22elif(i == "0"):
24    print("First Number")r = int(input())23    print("First Number")
24r = int(input())
25g = int(input())25g = int(input())
26b = int(input())26b = int(input())
t27rgb = [r, g, b]t27rgb = [r,g,b]
28rgbmin = min(rgb)28rgbmin = min(rgb)
29newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)]29newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)]
30print(newrgb[0],newrgb[1],newrgb[2])30print(newrgb[0],newrgb[1],newrgb[2])
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 9

Student ID: 341, P-Value: 3.06e-05

Nearest Neighbor ID: 249

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
2if score > 100 or score < 0:2if score > 100 or score < 0:
3    print('invalid score')3    print('invalid score')
4if 0 <= score < 50:4if 0 <= score < 50:
5    print('F')5    print('F')
n6if 50 <= score < 60:n6if 50<= score < 60:
7    print('C')7    print('C')
8if 60 <= score < 70:8if 60 <= score < 70:
9    print('C+')9    print('C+')
n10if 70 <= score < 80:n10if 70<= score < 80:
11    print('B')11    print('B')
12if 80 <= score < 90:12if 80 <= score < 90:
13    print('B')13    print('B')
n14if 90 <= score < 95:n14if 90<= score < 95:
15    print('A')15    print('A')
16if 95 <= score < 100:16if 95 <= score < 100:
n17    print('A+')i = input()n17    print('A+')
18i = input()
18if(i == 'A'):19if(i == 'A'):
19    print("First Letter")20    print("First Letter")
n20elif(i == 'a'):n21elif(i == "a"):
21    print("First Letter")22    print("First Letter")
n22elif(i == "0"):n23elif (i == "0"):
23    print("First Number")24    print("First Number")r = int(input())
24r = int(input())
25g = int(input())25g = int(input())
26b = int(input())26b = int(input())
t27rgb = [r,g,b]t27rgb = [r, g, b]
28rgbmin = min(rgb)28rgbmin = min(rgb)
29newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)]29newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)]
30print(newrgb[0],newrgb[1],newrgb[2])30print(newrgb[0],newrgb[1],newrgb[2])
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 10

Student ID: 364, P-Value: 6.53e-05

Nearest Neighbor ID: 125

Student (left) and Nearest Neighbor (right).


n1score=int(input("")) n1score=int(input())
2grade=""2grade=""
3if score>=0 and score<=100: 3if score>=0 and score<=100: 
4    if score>=95:4    if score>=95:
5        grade="A+" 5        grade="A+" 
6    elif score>=90:6    elif score>=90:
7        grade="A" 7        grade="A" 
8    elif score>=80:8    elif score>=80:
9        grade="B+" 9        grade="B+" 
10    elif score>=70:10    elif score>=70:
11        grade="B" 11        grade="B" 
12    elif score>=60:12    elif score>=60:
13        grade="C+" 13        grade="C+" 
14    elif score>=50:14    elif score>=50:
15        grade="C" 15        grade="C" 
16    else:16    else:
17        grade="F" 17        grade="F" 
n18    print(""+grade) n18    print("" +grade) 
19else:19else:
t20    print("invalid score") i = (input())t20    print("invalid score") i = input()
21if(i == 'A'):21if(i=='A'):
22    print ("First Letter")22    print("First Letter")
23elif (i == 'a'):23elif(i=='a'):
24    print ("First Letter")24    print("First Letter")
25elif(i == "0"):25elif(i=='0'):
26    print ("First Number")26    print("First Number")red_amount = int(input())
27red_amount = int(input())
28green_amount = int(input())27green_amount = int(input())
29blue_amount = int(input())28blue_amount = int(input())
30minValue = min(red_amount,green_amount,blue_amount)29minValue = min(red_amount,green_amount,blue_amount)
31print((red_amount-minValue),(green_amount-minValue),(blue_amount-minValue))30print((red_amount-minValue),(green_amount-minValue),(blue_amount-minValue))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 11

Student ID: 125, P-Value: 6.53e-05

Nearest Neighbor ID: 364

Student (left) and Nearest Neighbor (right).


n1score=int(input())n1score=int(input("")) 
2grade=""2grade=""
3if score>=0 and score<=100: 3if score>=0 and score<=100: 
4    if score>=95:4    if score>=95:
5        grade="A+" 5        grade="A+" 
6    elif score>=90:6    elif score>=90:
7        grade="A" 7        grade="A" 
8    elif score>=80:8    elif score>=80:
9        grade="B+" 9        grade="B+" 
10    elif score>=70:10    elif score>=70:
11        grade="B" 11        grade="B" 
12    elif score>=60:12    elif score>=60:
13        grade="C+" 13        grade="C+" 
14    elif score>=50:14    elif score>=50:
15        grade="C" 15        grade="C" 
16    else:16    else:
17        grade="F" 17        grade="F" 
n18    print("" +grade) n18    print(""+grade) 
19else:19else:
t20    print("invalid score") i = input()t20    print("invalid score") i = (input())
21if(i=='A'):21if(i == 'A'):
22    print("First Letter")22    print ("First Letter")
23elif(i=='a'):23elif (i == 'a'):
24    print("First Letter")24    print ("First Letter")
25elif(i=='0'):25elif(i == "0"):
26    print("First Number")red_amount = int(input())26    print ("First Number")
27red_amount = int(input())
27green_amount = int(input())28green_amount = int(input())
28blue_amount = int(input())29blue_amount = int(input())
29minValue = min(red_amount,green_amount,blue_amount)30minValue = min(red_amount,green_amount,blue_amount)
30print((red_amount-minValue),(green_amount-minValue),(blue_amount-minValue))31print((red_amount-minValue),(green_amount-minValue),(blue_amount-minValue))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 12

Student ID: 29, P-Value: 1.91e-03

Nearest Neighbor ID: 273

Student (left) and Nearest Neighbor (right).


f1score=int(input("")) f1score=int(input("")) 
2grade=""2grade=""
3if score>=0 and score<=100: 3if score>=0 and score<=100: 
4    if score>=95:4    if score>=95:
5        grade="A+" 5        grade="A+" 
n6        print("Grade Letter : "+grade) n
7    elif score>=90:6    elif score>=90:
8        grade="A" 7        grade="A" 
n9        print("Grade Letter : "+grade) n
10    elif score>=80:8    elif score>=80:
11        grade="B+" 9        grade="B+" 
n12        print("Grade Letter : "+grade) n
13    elif score>=70:10    elif score>=70:
14        grade="B" 11        grade="B" 
n15        print("Grade Letter : "+grade) n
16    elif score>=60:12    elif score>=60:
17        grade="C+" 13        grade="C+" 
n18        print(grade) n
19    elif score>=50:14    elif score>=50:
20        grade="C" 15        grade="C" 
n21        print(grade) n
22    else:16    else:
23        grade="F" 17        grade="F" 
n24        print(grade) n18    print(grade) 
25else:19else:
n26    print("invalid score") i = input()n20    print("invalid score") i = str(input())
27if i == 'A':21if (i == 'A'):
28    print ("First Letter")22    print ("First Letter")
n29elif i == 'a':n23elif(i == 'a'):
30    print ("First Letter")24    print ("First Letter")
t31elif i == '0':t25else: 
26    (i == "0")
32    print ("First Number")27    print ("First Number")
33red = int(input())28red = int(input())
34green = int(input())29green = int(input())
35blue = int(input())30blue = int(input())
36color = (red, green, blue)31color = (red, green, blue)
37min_val = min(color)32min_val = min(color)
38red_without_gray = red - min_val33red_without_gray = red - min_val
39green_without_gray = green - min_val34green_without_gray = green - min_val
40blue_without_gray = blue - min_val35blue_without_gray = blue - min_val
41color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)36color_without_gray = (red_without_gray,green_without_gray,blue_without_gray)
42print(red_without_gray,green_without_gray,blue_without_gray)37print(red_without_gray,green_without_gray,blue_without_gray)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 13

Student ID: 407, P-Value: 9.44e-03

Nearest Neighbor ID: 114

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
2if 95 <= score <= 100:2if 95 <= score <= 100:
3    print("A+")3    print("A+")
4elif 90 <= score <= 94:4elif 90 <= score <= 94:
5    print("A")5    print("A")
6elif 80 <= score <= 89:6elif 80 <= score <= 89:
7    print("B+")7    print("B+")
8elif 70 <= score <= 79:8elif 70 <= score <= 79:
9    print("B")9    print("B")
10elif 60 <= score <= 69:10elif 60 <= score <= 69:
11    print("C+")11    print("C+")
12elif 50 <= score <= 59:12elif 50 <= score <= 59:
13    print("C")13    print("C")
14elif 0 <= score <= 49:14elif 0 <= score <= 49:
15    print("F")15    print("F")
16else:16else:
n17    print("invalid score")n17    print("invalid score")i = input()
18i = str(input())
19if i == 'A':18if(i == 'A'):
20    print("First Letter")19    print("First Letter")
n21elif i == "a":n20elif(i == 'a'):
22    print("First Letter")21    print("First Letter")
t23elif i == "0":t22elif(i == "0"):
24    print("First Number")n1 = int(input())23    print("First Number")
24color1 = int(input())
25n2 = int(input())25color2 = int(input())
26n3 = int(input())26color3 = int(input())
27list = [n1, n2, n3]27myList = [color1, color2, color3]
28print(n1 - min(list), n2 - min(list), n3 - min(list))28print(color1-min(myList), color2-min(myList), color3-min(myList))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 14

Student ID: 114, P-Value: 9.44e-03

Nearest Neighbor ID: 407

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
2if 95 <= score <= 100:2if 95 <= score <= 100:
3    print("A+")3    print("A+")
4elif 90 <= score <= 94:4elif 90 <= score <= 94:
5    print("A")5    print("A")
6elif 80 <= score <= 89:6elif 80 <= score <= 89:
7    print("B+")7    print("B+")
8elif 70 <= score <= 79:8elif 70 <= score <= 79:
9    print("B")9    print("B")
10elif 60 <= score <= 69:10elif 60 <= score <= 69:
11    print("C+")11    print("C+")
12elif 50 <= score <= 59:12elif 50 <= score <= 59:
13    print("C")13    print("C")
14elif 0 <= score <= 49:14elif 0 <= score <= 49:
15    print("F")15    print("F")
16else:16else:
n17    print("invalid score")i = input()n17    print("invalid score")
18i = str(input())
18if(i == 'A'):19if i == 'A':
19    print("First Letter")20    print("First Letter")
n20elif(i == 'a'):n21elif i == "a":
21    print("First Letter")22    print("First Letter")
t22elif(i == "0"):t23elif i == "0":
23    print("First Number")24    print("First Number")n1 = int(input())
24color1 = int(input())
25color2 = int(input())25n2 = int(input())
26color3 = int(input())26n3 = int(input())
27myList = [color1, color2, color3]27list = [n1, n2, n3]
28print(color1-min(myList), color2-min(myList), color3-min(myList))28print(n1 - min(list), n2 - min(list), n3 - min(list))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 15

Student ID: 269, P-Value: 1.34e-02

Nearest Neighbor ID: 259

Student (left) and Nearest Neighbor (right).


n1score = int(input())n1score=int(input())
2if 95<=score<=100:2if 95<=score<=100:
3    print("A+")3    print("A+")
4elif 90<=score<=94:4elif 90<=score<=94:
5    print("A")5    print("A")
6elif 80<=score<=89:6elif 80<=score<=89:
7    print("B+")7    print("B+")
8elif 70<=score<=79:8elif 70<=score<=79:
9    print("B")9    print("B")
10elif 60<=score<=69:10elif 60<=score<=69:
11    print("C+")11    print("C+")
12elif 50<=score<=59:12elif 50<=score<=59:
13    print("C")13    print("C")
14elif 0<=score<=49:14elif 0<=score<=49:
15    print("F")15    print("F")
16else:16else:
n17    print("invalid score")i = input()n17    print("invalid score")i =input()
18if i == 'A':18if i == 'A':
19    print("First Letter")19    print("First Letter")
20elif i == 'a':20elif i == 'a':
21    print("First Letter")21    print("First Letter")
n22elif i == "0":n22elif i == '0':
23    print("First Number")23    print("First Number")
t24r = int(input())t24red = int(input())
25g = int(input())25green = int(input())
26b = int(input())26blue = int(input())
27list = [r,g,b]27myList=[red,green,blue]
28a = min(list)28print((red - min(myList)),(green - min(myList)),(blue - min(myList)))
29print(f'{r-a} {g-a} {b-a}')
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 16

Student ID: 259, P-Value: 1.34e-02

Nearest Neighbor ID: 269

Student (left) and Nearest Neighbor (right).


n1score=int(input())n1score = int(input())
2if 95<=score<=100:2if 95<=score<=100:
3    print("A+")3    print("A+")
4elif 90<=score<=94:4elif 90<=score<=94:
5    print("A")5    print("A")
6elif 80<=score<=89:6elif 80<=score<=89:
7    print("B+")7    print("B+")
8elif 70<=score<=79:8elif 70<=score<=79:
9    print("B")9    print("B")
10elif 60<=score<=69:10elif 60<=score<=69:
11    print("C+")11    print("C+")
12elif 50<=score<=59:12elif 50<=score<=59:
13    print("C")13    print("C")
14elif 0<=score<=49:14elif 0<=score<=49:
15    print("F")15    print("F")
16else:16else:
n17    print("invalid score")i =input()n17    print("invalid score")i = input()
18if i == 'A':18if i == 'A':
19    print("First Letter")19    print("First Letter")
20elif i == 'a':20elif i == 'a':
21    print("First Letter")21    print("First Letter")
n22elif i == '0':n22elif i == "0":
23    print("First Number")23    print("First Number")
t24red = int(input())t24r = int(input())
25green = int(input())25g = int(input())
26blue = int(input())26b = int(input())
27myList=[red,green,blue]27list = [r,g,b]
28print((red - min(myList)),(green - min(myList)),(blue - min(myList)))28a = min(list)
29print(f'{r-a} {g-a} {b-a}')
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 17

Student ID: 253, P-Value: 2.60e-02

Nearest Neighbor ID: 356

Student (left) and Nearest Neighbor (right).


n1grade_input = int(input())n1grade = int(input())
2if 100 >= grade_input >= 95:2if 0 <= grade < 50:
3    print('F')
4elif grade < 60:
5    print('C')
6elif grade < 70:
7    print('C+')
8elif grade < 80:
9    print('B')
10elif grade < 90:
11    print('B+')
12elif grade < 95:
13    print('A')
14elif grade <= 100:
3    print('A+')15    print('A+')
n4elif 95 > grade_input >= 90:n
5    print('A')
6elif 80 > grade_input >= 90:
7    print('B+')
8elif 80 > grade_input >= 70:
9    print('B')
10elif 70 > grade_input >= 60:
11    print('C+')
12elif 60 > grade_input >= 50:
13    print('C')
14elif 50 > grade_input >= 0:
15    print('F')
16else:16else:
17    print('invalid score')i = input()17    print('invalid score')i = input()
18if(i == 'A'):18if(i == 'A'):
n19    print("First Letter")  n19    print("First Letter")
20elif(i == 'a'):20elif(i == 'a'):
n21    print("First Letter")   n21    print("First Letter")
22elif(int(i) == 0):22elif(i == '0'):
23    print("First Number")23    print("First Number")
24r = int(input())24r = int(input())
25g = int(input())25g = int(input())
26b = int(input())26b = int(input())
t27rgb_list = [r, g, b]t27rgb = [r, g, b]
28min = min(rgb_list)28min = min(rgb)
29r -= min29r = r - min
30g -= min30g = g - min
31b -= min31b = b - min
32print(r, g, b)32print(r, g, b)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 18

Student ID: 356, P-Value: 2.60e-02

Nearest Neighbor ID: 253

Student (left) and Nearest Neighbor (right).


n1grade = int(input())n1grade_input = int(input())
2if 0 <= grade < 50:2if 100 >= grade_input >= 95:
3    print('A+')
4elif 95 > grade_input >= 90:
5    print('A')
6elif 80 > grade_input >= 90:
7    print('B+')
8elif 80 > grade_input >= 70:
9    print('B')
10elif 70 > grade_input >= 60:
11    print('C+')
12elif 60 > grade_input >= 50:
13    print('C')
14elif 50 > grade_input >= 0:
3    print('F')15    print('F')
n4elif grade < 60:n
5    print('C')
6elif grade < 70:
7    print('C+')
8elif grade < 80:
9    print('B')
10elif grade < 90:
11    print('B+')
12elif grade < 95:
13    print('A')
14elif grade <= 100:
15    print('A+')
16else:16else:
17    print('invalid score')i = input()17    print('invalid score')i = input()
18if(i == 'A'):18if(i == 'A'):
n19    print("First Letter")n19    print("First Letter")  
20elif(i == 'a'):20elif(i == 'a'):
n21    print("First Letter")n21    print("First Letter")   
22elif(i == '0'):22elif(int(i) == 0):
23    print("First Number")23    print("First Number")
24r = int(input())24r = int(input())
25g = int(input())25g = int(input())
26b = int(input())26b = int(input())
t27rgb = [r, g, b]t27rgb_list = [r, g, b]
28min = min(rgb)28min = min(rgb_list)
29r = r - min29r -= min
30g = g - min30g -= min
31b = b - min31b -= min
32print(r, g, b)32print(r, g, b)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 19

Student ID: 219, P-Value: 3.68e-02

Nearest Neighbor ID: 417

Student (left) and Nearest Neighbor (right).


n1score =int(input())n1score = int(input())
2if score>=101:2if score >= 101:
3    print('invalid score')3    print('invalid score')
n4elif score >= 95: n4elif score >= 95:
5    print("A+")5    print("A+")
6elif 90 <= score <= 94:6elif 90 <= score <= 94:
7    print("A")7    print("A")
n8elif 80<= score <=89: n8elif 80 <= score <= 89:
9    print("B+")9    print("B+")
n10elif 70<= score <= 79: n10elif 70 <= score <= 79:
11    print("B")11    print("B")
n12elif 60 <= score <= 69: n12elif 60 <= score <= 69:
13    print("C+")13    print("C+")
n14elif 50 <= score <= 59: n14elif 50 <= score <= 59:
15    print("C")15    print("C")
n16elif 0 <= score <= 49: n16elif 0 <= score <= 49:
17    print("F")i = str(input())17    print("F")i = str(input())
n18if(i == 'A'):n18if i == 'A':
19    print("First Letter")
20elif (i == "a"):
21    print ("First Letter")19    print ("First Letter")
tt20elif i == 'a':
21    print ("First Letter")
22elif (i == "0"):22elif i == '0':
23    print ("First Number")red = int(input())23    print ("First Number")
24red = int(input())
24green = int(input())25green=int(input())
25blue = int(input())26blue=int(input())
26m=min([red, green, blue])27m=min([red, green,blue])
27print(str(red-m)+" "+str(green-m)+" "+str(blue-m))28print(str(red-m)+" "+str(green-m)+" "+str(blue-m))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 20

Student ID: 417, P-Value: 3.68e-02

Nearest Neighbor ID: 219

Student (left) and Nearest Neighbor (right).


n1score = int(input())n1score =int(input())
2if score >= 101:2if score>=101:
3    print('invalid score')3    print('invalid score')
n4elif score >= 95:n4elif score >= 95: 
5    print("A+")5    print("A+")
6elif 90 <= score <= 94:6elif 90 <= score <= 94:
7    print("A")7    print("A")
n8elif 80 <= score <= 89:n8elif 80<= score <=89: 
9    print("B+")9    print("B+")
n10elif 70 <= score <= 79:n10elif 70<= score <= 79: 
11    print("B")11    print("B")
n12elif 60 <= score <= 69:n12elif 60 <= score <= 69: 
13    print("C+")13    print("C+")
n14elif 50 <= score <= 59:n14elif 50 <= score <= 59: 
15    print("C")15    print("C")
n16elif 0 <= score <= 49:n16elif 0 <= score <= 49: 
17    print("F")i = str(input())17    print("F")i = str(input())
n18if i == 'A':n18if(i == 'A'):
19    print("First Letter")
20elif (i == "a"):
19    print ("First Letter")21    print ("First Letter")
t20elif i == 'a':t
21    print ("First Letter")
22elif i == '0':22elif (i == "0"):
23    print ("First Number")23    print ("First Number")red = int(input())
24red = int(input())
25green=int(input())24green = int(input())
26blue=int(input())25blue = int(input())
27m=min([red, green,blue])26m=min([red, green, blue])
28print(str(red-m)+" "+str(green-m)+" "+str(blue-m))27print(str(red-m)+" "+str(green-m)+" "+str(blue-m))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 21

Student ID: 77, P-Value: 4.98e-02

Nearest Neighbor ID: 166

Student (left) and Nearest Neighbor (right).


n1grade = int(input())n1score = int(input())
2if 95<=grade<=100:2if 95<=score<=100:
3    print('A+')3    print('A+')
n4elif 90<=grade<=94:n4elif 90<=score<=94:
5    print('A')5    print('A')
n6elif 80<=grade<=89:n6elif 80<=score<=89:
7    print('B+')7    print('B+')
n8elif 70<=grade<=79:n8elif 70<=score<=79:
9    print('B')9    print('B')
n10elif 60<=grade<=69:n10elif 60<=score<=69:
11    print('C+')11    print('C+')
n12elif 50<=grade<=59:n12elif 50<=score<=59:
13    print('C')13    print('C')
n14elif 0<=grade<=49:n14elif 0<=score<=49:
15    print('F')15    print('F')
16else:16else:
n17    print('invalid score')n17    print('invalid score')i = input()
18i = input()
19if(i == 'A'):18if i == ('A'):
20    print("First Letter")19    print("First Letter")
t21elif(i == 'a'):t20elif i == ('a'):
22    print('First Letter')21    print("First Letter")
23elif(i == "0"):22else:
24    print('First Number')red=int(input())23    print("First Number")red = int(input())
25green=int(input())24green = int(input())
26blue=int(input())25blue = int(input())
27minimum = min(red,green,blue)26m = min([red,green,blue])
28print(red-minimum, green-minimum, blue-minimum)27print(str(red-m)+" "+str(green-m)+" "+str(blue-m))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 22

Student ID: 166, P-Value: 4.98e-02

Nearest Neighbor ID: 77

Student (left) and Nearest Neighbor (right).


n1score = int(input())n1grade = int(input())
2if 95<=score<=100:2if 95<=grade<=100:
3    print('A+')3    print('A+')
n4elif 90<=score<=94:n4elif 90<=grade<=94:
5    print('A')5    print('A')
n6elif 80<=score<=89:n6elif 80<=grade<=89:
7    print('B+')7    print('B+')
n8elif 70<=score<=79:n8elif 70<=grade<=79:
9    print('B')9    print('B')
n10elif 60<=score<=69:n10elif 60<=grade<=69:
11    print('C+')11    print('C+')
n12elif 50<=score<=59:n12elif 50<=grade<=59:
13    print('C')13    print('C')
n14elif 0<=score<=49:n14elif 0<=grade<=49:
15    print('F')15    print('F')
16else:16else:
n17    print('invalid score')i = input()n17    print('invalid score')
18i = input()
18if i == ('A'):19if(i == 'A'):
19    print("First Letter")20    print("First Letter")
t20elif i == ('a'):t21elif(i == 'a'):
21    print("First Letter")22    print('First Letter')
22else:23elif(i == "0"):
23    print("First Number")red = int(input())24    print('First Number')red=int(input())
24green = int(input())25green=int(input())
25blue = int(input())26blue=int(input())
26m = min([red,green,blue])27minimum = min(red,green,blue)
27print(str(red-m)+" "+str(green-m)+" "+str(blue-m))28print(red-minimum, green-minimum, blue-minimum)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 23

Student ID: 360, P-Value: 5.54e-02

Nearest Neighbor ID: 484

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
2if 95 <= score <= 100:2if 95 <= score <= 100:
3    print('A+')3    print('A+')
4if 90 <= score <= 94:4if 90 <= score <= 94:
5    print('A')5    print('A')
6if 80 <= score <= 89:6if 80 <= score <= 89:
7    print('B+')7    print('B+')
8if 70 <= score <= 79:8if 70 <= score <= 79:
9    print('B')9    print('B')
10if 60 <= score <= 69:10if 60 <= score <= 69:
11    print('C+')11    print('C+')
12if 50 <= score <= 59:12if 50 <= score <= 59:
13    print('C')13    print('C')
14if 0 <= score <= 49:14if 0 <= score <= 49:
15    print('F')15    print('F')
n16else:n16else: print('invalid score')
17    print('invalid score')i = input()17i = str(input())
18if i == '0':
19    print("First Number")
18if (i == 'A'):20elif i == 'A':
19    print ("First Letter")21    print("First Letter")
20if (i == 'a'):22elif i == 'a':
21    print ("First Letter")23    print("First Letter")
22if [i == 0]:24red = int(input())
23    print ("First Number")red = int(input())
24green = int(input())25green = int(input())
25blue = int(input())26blue = int(input())
t26myList = [red, green, blue]t27scale = [red, green, blue]
27smallest_value = min(myList)28smallest = min(scale)
28print (red - smallest_value, green - smallest_value, blue - smallest_value)29red = red - smallest
30green = green - smallest
31blue = blue - smallest 
32print(red , green , blue)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 24

Student ID: 484, P-Value: 5.54e-02

Nearest Neighbor ID: 360

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
2if 95 <= score <= 100:2if 95 <= score <= 100:
3    print('A+')3    print('A+')
4if 90 <= score <= 94:4if 90 <= score <= 94:
5    print('A')5    print('A')
6if 80 <= score <= 89:6if 80 <= score <= 89:
7    print('B+')7    print('B+')
8if 70 <= score <= 79:8if 70 <= score <= 79:
9    print('B')9    print('B')
10if 60 <= score <= 69:10if 60 <= score <= 69:
11    print('C+')11    print('C+')
12if 50 <= score <= 59:12if 50 <= score <= 59:
13    print('C')13    print('C')
14if 0 <= score <= 49:14if 0 <= score <= 49:
15    print('F')15    print('F')
n16else: print('invalid score')n16else:
17i = str(input())17    print('invalid score')i = input()
18if i == '0':
19    print("First Number")
20elif i == 'A':18if (i == 'A'):
21    print("First Letter")19    print ("First Letter")
22elif i == 'a':20if (i == 'a'):
23    print("First Letter")21    print ("First Letter")
24red = int(input())22if [i == 0]:
23    print ("First Number")red = int(input())
25green = int(input())24green = int(input())
26blue = int(input())25blue = int(input())
t27scale = [red, green, blue]t26myList = [red, green, blue]
28smallest = min(scale)27smallest_value = min(myList)
29red = red - smallest28print (red - smallest_value, green - smallest_value, blue - smallest_value)
30green = green - smallest
31blue = blue - smallest 
32print(red , green , blue)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 25

Student ID: 264, P-Value: 7.27e-02

Nearest Neighbor ID: 363

Student (left) and Nearest Neighbor (right).


n1grade = int(input())n1score_range = int(input())
2if(grade < 0 or grade > 100):2if score_range <= 49:
3    print("invalid score")3    print("F")
4elif(grade >= 95):4elif score_range <= 59:
5    print("C")
6elif score_range <= 69:
7    print("C+")
8elif score_range <= 79:
9    print("B")
10elif score_range <= 89:
11    print("B+")
12elif score_range <= 94:
13    print("A")
14elif score_range <= 100:
5    print("A+")15    print("A+")
n6elif(grade >= 90):n
7    print("A")
8elif(grade >= 80):
9    print("B+")
10elif(grade >= 70):
11    print("B")
12elif(grade >= 60):
13    print("C+")
14elif(grade >= 50):
15    print("C")
16else:16else:
n17    print("F")i = input()n17    print("invalid score")i = input()
18if(i == 'A'):18if (i == "A"):
19    print("First Letter")19    print("First Letter")
n20elif(i == 'a'):n20elif(i == "a"):
21    print("First Letter")21    print("First Letter")
22elif(i == "0"):22elif(i == "0"):
n23    print("First Number")red = int(input())n23    print ("First Number")red = int(input())
24green = int(input())24green = int(input())
25blue = int(input())25blue = int(input())
t26min = min([red, green, blue])t26min = int(min(red,green,blue))
27print(red-min, green-min, blue-min)27print(red-min,green-min,blue-min)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 26

Student ID: 363, P-Value: 7.27e-02

Nearest Neighbor ID: 264

Student (left) and Nearest Neighbor (right).


n1score_range = int(input())n1grade = int(input())
2if score_range <= 49:2if(grade < 0 or grade > 100):
3    print("invalid score")
4elif(grade >= 95):
5    print("A+")
6elif(grade >= 90):
3    print("F")7    print("A")
4elif score_range <= 59:8elif(grade >= 80):
9    print("B+")
10elif(grade >= 70):
11    print("B")
12elif(grade >= 60):
13    print("C+")
14elif(grade >= 50):
5    print("C")15    print("C")
n6elif score_range <= 69:n
7    print("C+")
8elif score_range <= 79:
9    print("B")
10elif score_range <= 89:
11    print("B+")
12elif score_range <= 94:
13    print("A")
14elif score_range <= 100:
15    print("A+")
16else:16else:
n17    print("invalid score")i = input()n17    print("F")i = input()
18if (i == "A"):18if(i == 'A'):
19    print("First Letter")19    print("First Letter")
n20elif(i == "a"):n20elif(i == 'a'):
21    print("First Letter")21    print("First Letter")
22elif(i == "0"):22elif(i == "0"):
n23    print ("First Number")red = int(input())n23    print("First Number")red = int(input())
24green = int(input())24green = int(input())
25blue = int(input())25blue = int(input())
t26min = int(min(red,green,blue))t26min = min([red, green, blue])
27print(red-min,green-min,blue-min)27print(red-min, green-min, blue-min)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 27

Student ID: 220, P-Value: 7.87e-02

Nearest Neighbor ID: 166

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
2if 95<=score<=100:2if 95<=score<=100:
3    print('A+')3    print('A+')
4elif 90<=score<=94:4elif 90<=score<=94:
5    print('A')5    print('A')
6elif 80<=score<=89:6elif 80<=score<=89:
7    print('B+')7    print('B+')
8elif 70<=score<=79:8elif 70<=score<=79:
9    print('B')9    print('B')
10elif 60<=score<=69:10elif 60<=score<=69:
11    print('C+')11    print('C+')
12elif 50<=score<=59:12elif 50<=score<=59:
13    print('C')13    print('C')
14elif 0<=score<=49:14elif 0<=score<=49:
15    print('F')15    print('F')
16else:16else:
17    print('invalid score')i = input()17    print('invalid score')i = input()
t18if i == 'A':t18if i == ('A'):
19    print('First Letter')19    print("First Letter")
20elif i == 'a':20elif i == ('a'):
21    print('First Letter')21    print("First Letter")
22elif i == "0":22else:
23    print ('First Number')sub_color1 = int(input())23    print("First Number")red = int(input())
24sub_color2 = int(input())24green = int(input())
25sub_color3 = int(input())25blue = int(input())
26subt = min(sub_color1,sub_color2,sub_color3)26m = min([red,green,blue])
27print(sub_color1-subt, sub_color2-subt, sub_color3-subt)27print(str(red-m)+" "+str(green-m)+" "+str(blue-m))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 28

Student ID: 57, P-Value: 8.25e-02

Nearest Neighbor ID: 216

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
n2if 0 <= score <= 49:n2if score < 0:
3    print('invalid score')
4elif score < 50:
3    print('F')5    print('F')
n4elif score <= 59:n6elif score < 60:
5    print('C')7    print('C')
n6elif score <= 69:n8elif score < 70:
7    print('C+')9    print('C+')
n8elif score <= 79:n10elif score < 80:
9    print('B')11    print('B')
n10elif score <= 89:n12elif score < 90:
11    print('B+')13    print('B+')
n12elif score <= 94:n14elif score < 95:
13    print('A')15    print('A')
14elif score <= 100:16elif score <= 100:
15    print('A+')17    print('A+')
16else:18else:
n17    print('invalid score')i = input()n19    print('invalid score')i = (input())
18if i == 'A':20if(i == 'A'):
19    print("First Letter")21    print("First Letter")
n20elif i == 'a':n22elif(i == 'a'):
21    print("First Letter")23    print("First Letter")
n22elif i == "0":n24elif(i == "0"):
23    print("First Number")red = int(input())25    print("First Number")red = int(input())
24green = int(input())26green = int(input())
25blue = int(input())27blue = int(input())
t26min_val = min(red, green, blue)t28rbg_list = [red, green, blue]
27red -= min_val29x = min(rbg_list)
28green -= min_val
29blue -= min_val
30print(red, green, blue)30print(red - x, green - x, blue -x)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 29

Student ID: 216, P-Value: 8.25e-02

Nearest Neighbor ID: 57

Student (left) and Nearest Neighbor (right).


f1score = int(input())f1score = int(input())
n2if score < 0:n2if 0 <= score <= 49:
3    print('invalid score')
4elif score < 50:
5    print('F')3    print('F')
n6elif score < 60:n4elif score <= 59:
7    print('C')5    print('C')
n8elif score < 70:n6elif score <= 69:
9    print('C+')7    print('C+')
n10elif score < 80:n8elif score <= 79:
11    print('B')9    print('B')
n12elif score < 90:n10elif score <= 89:
13    print('B+')11    print('B+')
n14elif score < 95:n12elif score <= 94:
15    print('A')13    print('A')
16elif score <= 100:14elif score <= 100:
17    print('A+')15    print('A+')
18else:16else:
n19    print('invalid score')i = (input())n17    print('invalid score')i = input()
20if(i == 'A'):18if i == 'A':
21    print("First Letter")19    print("First Letter")
n22elif(i == 'a'):n20elif i == 'a':
23    print("First Letter")21    print("First Letter")
n24elif(i == "0"):n22elif i == "0":
25    print("First Number")red = int(input())23    print("First Number")red = int(input())
26green = int(input())24green = int(input())
27blue = int(input())25blue = int(input())
t28rbg_list = [red, green, blue]t26min_val = min(red, green, blue)
29x = min(rbg_list)27red -= min_val
28green -= min_val
29blue -= min_val
30print(red - x, green - x, blue -x)30print(red, green, blue)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 30

Student ID: 157, P-Value: 9.47e-02

Nearest Neighbor ID: 114

Student (left) and Nearest Neighbor (right).


n1grade = int(input())n1score = int(input())
2if 95 <= grade <= 100:2if 95 <= score <= 100:
3    print("A+")3    print("A+")
n4elif 90 <= grade <= 94:n4elif 90 <= score <= 94:
5    print("A")5    print("A")
n6elif 80 <= grade <= 89:n6elif 80 <= score <= 89:
7    print("B+")7    print("B+")
n8elif 70 <= grade <= 79:n8elif 70 <= score <= 79:
9    print("B")9    print("B")
n10elif 60 <= grade <= 69:n10elif 60 <= score <= 69:
11    print("C+")11    print("C+")
n12elif 50 <= grade <= 59:n12elif 50 <= score <= 59:
13    print("C")13    print("C")
n14elif 0<= grade <= 49:n14elif 0 <= score <= 49:
15    print("F")15    print("F")
16else:16else:
17    print("invalid score")i = input()17    print("invalid score")i = input()
t18if(i == "A"):t18if(i == 'A'):
19    print ("First Letter")19    print("First Letter")
20elif (i == "a"):20elif(i == 'a'):
21    print ("First Letter")21    print("First Letter")
22else:22elif(i == "0"):
23    i = 023    print("First Number")
24    print ("First Number")r = int(input())
25g = int(input())24color1 = int(input())
26b = int(input())25color2 = int(input())
27m = min([r,g,b])26color3 = int(input())
28print(str(r-m),(g-m),(b-m))27myList = [color1, color2, color3]
28print(color1-min(myList), color2-min(myList), color3-min(myList))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 31

Student ID: 167, P-Value: 9.94e-01

Nearest Neighbor ID: 203

Student (left) and Nearest Neighbor (right).


n1score = int(input())n1grade = int(input())
2if score >= 95 and score <= 100 :2if grade <= 100 and grade >= 95:
3    print('A+')3    print('A+')
n4elif score >100 :n4elif grade <= 94 and grade >= 90:
5    print('A')
6elif grade <= 89 and grade >= 80:
7    print('B+')
8elif grade <= 79 and grade >= 70:
9    print('B')
10elif grade <= 69 and grade >= 60:
11    print('C+')
12elif grade <= 59 and grade >= 50:
13    print('C')
14elif grade >= 0 and grade <= 49:
15    print('F')
16else:
5    print('invalid score')17    print('invalid score')
t6elif score >= 90 :t18i = input()
7    print('A')19if (i == 'A'):
8elif score >= 80 :
9    print('B+')
10elif score >= 70 :
11    print('B')
12elif score >= 60 :
13    print('C+')
14elif score >= 50 :
15    print('C')
16else:
17    print('F')theInput = input()
18if theInput == "A" or theInput == "a":
19  print ('First Letter')    20    print("First Letter")
20else:21if (i == 'a'):
21    print ('First Number')22    print("First Letter")
22firstNum = int(input())23if (i == "0"):
24    print("First Number")color1 = int(input())
23secondNum = int(input())25color2 = int(input())
24thirdNum = int(input())26color3 = int(input())
25def subtract (num1,num2,num3):27my_list = [color1, color2, color3]
26    theMin = 028gray = min(my_list)
27    newNum1 = 029new_color1 = color1 - gray
28    newNum2 = 030new_color2 = color2 - gray
29    newNum3 = 0 31new_color3 = color3 - gray
30    if (num1 <= num2) and (num1<= num3):32print(new_color1, new_color2, new_color3)
31        theMin = num1
32        newNum1 = num1 -theMin
33        newNum2 = num2 -theMin
34        newNum3 = num3 -theMin
35        print(newNum1, newNum2, newNum3)
36    elif (num2 <= num1) and (num2 <= num3):
37        theMin = num2
38        newNum1 =  num1 - theMin
39        newNum2 =  num2 - theMin
40        newNum3 =  num3 - theMin
41        print(newNum1, newNum2, newNum3)
42    elif (num3 <= num1) and (num3 <= num2):
43        theMin = num3
44        newNum1 = num1 - theMin
45        newNum2 = num2 - theMin
46        newNum3 = num3 - theMin
47    else:
48        print("None")
49subtract(firstNum, secondNum, thirdNum)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op




Page 32

Student ID: 495, P-Value: 9.90e-01

Nearest Neighbor ID: 384

Student (left) and Nearest Neighbor (right).


t1def main():     t1grade_score = int(input())
2            grade1 = int(input())2if (grade_score >= 0 and grade_score<=49):
3            determine_grade(grade1)       3    letter_grade = 'F'
4            grade2 = int(input())
5            determine_grade(grade2)       
6            grade3 = int(input())
7            determine_grade(grade3)
8            grade4 = int(input())
9            determine_grade(grade4)
10            grade5 = int(input())
11            determine_grade(grade5)
12            average = calc_average(grade1, grade2, grade3, grade4, grade5)
13            print ("\n \nAverage score and results")
14            print ("score :" ,average)
15            determine_grade(average)
16def calc_average(grade1, grade2, grade3, grade4, grade5):  
17            average_score = (grade1 + grade2 + grade3 + grade4 + grade5) / (5.0)
18            return average_score
19def determine_grade(score):
20    if(score <= 49):
21            print ("F")
22    elif(score >= 50 and score <=59):4elif (grade_score >=50 and grade_score<59):
23            print ("C")5    letter_grade = 'C'
24    elif(score >= 60 and score <=69):6elif (grade_score >=60 and grade_score<69):
25            print ("your grade is a D")7    letter_grade = 'C+'
26    elif(score >=70 and score <=79):8elif (grade_score >=70 and grade_score<79):
27            print ("your grade is a C")9    letter_grade = 'B'
28    elif(score >=80 and score <=89):10elif (grade_score >=80 and grade_score<89):
29            print ("your grade is a B")11    letter_grade ='B+'
12elif (grade_score >=90 and grade_score<94):
13    letter_grade ='A'
30    elif(score >=90 and score<=100):14elif (grade_score >=95 and grade_score<100):
31            print ("A+")15    letter_grade ='A+'
32    else:16else:
33        print ('invalid score')17    letter_grade = 'invalid score'
34    return score18print(letter_grade)i = input()
35main()i=(input())
36if(i=='A'):19if(i == 'A'):
37    print("First Letter")20    print('First Letter')
38elif(i=='a'):21elif(i == 'a'):
39    print("First Letter")22    print('First Letter')
40elif(i=='0'):23elif(i == '0'):
41    print("First Number")red = int(input())24    print('First Number')
25red = int(input())
42green = int(input())26green = int(input())
43blue = int(input())27blue = int(input())
44num1 = (red, green, blue)28num1 = (red, green, blue)
45a = min(num1) 29a = min(num1) 
46gray_colors_red = (red - a) 30gray_colors_red = (red - a) 
47gray_color_green = (green - a)31gray_color_green = (green - a)
48gray_color_blue = (blue - a)32gray_color_blue = (blue - a)
49print(gray_colors_red, gray_color_green, gray_color_blue)33print(gray_colors_red, gray_color_green, gray_color_blue)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op