Page 1
Student ID: 10, P-Value: 3.63e-10
Nearest Neighbor ID: 23
Student (left) and Nearest Neighbor (right).
t | grade_num = int(input()) | t | grade_num = int(input()) |
| if 95 <= grade_num <=100: | | if 95 <= grade_num <=100: |
| grade = "A+" | | grade = "A+" |
| elif 90 <= grade_num <= 94: | | elif 90 <= grade_num <= 94: |
| grade = "A" | | grade = "A" |
| elif 80 <= grade_num <= 89: | | elif 80 <= grade_num <= 89: |
| grade = "B+" | | grade = "B+" |
| elif 70 <= grade_num <= 79: | | elif 70 <= grade_num <= 79: |
| grade = "B" | | grade = "B" |
| elif 60 <= grade_num <= 69: | | elif 60 <= grade_num <= 69: |
| grade = "C+" | | grade = "C+" |
| elif 50 <= grade_num <= 59: | | elif 50 <= grade_num <= 59: |
| grade = "C" | | grade = "C" |
| elif 0 <= grade_num <= 49: | | elif 0 <= grade_num <= 49: |
| grade = "F" | | grade = "F" |
| elif grade_num > 100: | | elif grade_num > 100: |
| grade = "invalid score" | | grade = "invalid score" |
| elif grade_num < 0: | | elif grade_num < 0: |
| grade = "invalid score" | | grade = "invalid score" |
| print(grade) | | print(grade) |
| i = input() | | i = input() |
| if(i == "A"): | | if(i == "A"): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == "a"): | | elif(i == "a"): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == "0"): | | elif(i == "0"): |
| print ("First Number") | | print ("First Number") |
| red_amount = int(input()) | | red_amount = int(input()) |
| green_amount = int(input()) | | green_amount = int(input()) |
| blue_amount = int(input()) | | blue_amount = int(input()) |
| min_value = red_amount | | min_value = red_amount |
| if green_amount < min_value: | | if green_amount < min_value: |
| min_value = green_amount | | min_value = green_amount |
| if blue_amount < min_value: | | if blue_amount < min_value: |
| min_value = blue_amount | | min_value = blue_amount |
| red_amount = red_amount - min_value | | red_amount = red_amount - min_value |
| green_amount = green_amount - min_value | | green_amount = green_amount - min_value |
| blue_amount = blue_amount - min_value | | blue_amount = blue_amount - min_value |
| print(red_amount, green_amount, blue_amount) | | print(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).
t | grade_num = int(input()) | t | grade_num = int(input()) |
| if 95 <= grade_num <=100: | | if 95 <= grade_num <=100: |
| grade = "A+" | | grade = "A+" |
| elif 90 <= grade_num <= 94: | | elif 90 <= grade_num <= 94: |
| grade = "A" | | grade = "A" |
| elif 80 <= grade_num <= 89: | | elif 80 <= grade_num <= 89: |
| grade = "B+" | | grade = "B+" |
| elif 70 <= grade_num <= 79: | | elif 70 <= grade_num <= 79: |
| grade = "B" | | grade = "B" |
| elif 60 <= grade_num <= 69: | | elif 60 <= grade_num <= 69: |
| grade = "C+" | | grade = "C+" |
| elif 50 <= grade_num <= 59: | | elif 50 <= grade_num <= 59: |
| grade = "C" | | grade = "C" |
| elif 0 <= grade_num <= 49: | | elif 0 <= grade_num <= 49: |
| grade = "F" | | grade = "F" |
| elif grade_num > 100: | | elif grade_num > 100: |
| grade = "invalid score" | | grade = "invalid score" |
| elif grade_num < 0: | | elif grade_num < 0: |
| grade = "invalid score" | | grade = "invalid score" |
| print(grade) | | print(grade) |
| i = input() | | i = input() |
| if(i == "A"): | | if(i == "A"): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == "a"): | | elif(i == "a"): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == "0"): | | elif(i == "0"): |
| print ("First Number") | | print ("First Number") |
| red_amount = int(input()) | | red_amount = int(input()) |
| green_amount = int(input()) | | green_amount = int(input()) |
| blue_amount = int(input()) | | blue_amount = int(input()) |
| min_value = red_amount | | min_value = red_amount |
| if green_amount < min_value: | | if green_amount < min_value: |
| min_value = green_amount | | min_value = green_amount |
| if blue_amount < min_value: | | if blue_amount < min_value: |
| min_value = blue_amount | | min_value = blue_amount |
| red_amount = red_amount - min_value | | red_amount = red_amount - min_value |
| green_amount = green_amount - min_value | | green_amount = green_amount - min_value |
| blue_amount = blue_amount - min_value | | blue_amount = blue_amount - min_value |
| print(red_amount, green_amount, blue_amount) | | print(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).
f | grade_num = int(input()) | f | grade_num = int(input()) |
| if 95 <= grade_num <=100: | | if 95 <= grade_num <=100: |
| grade = "A+" | | grade = "A+" |
| elif 90 <= grade_num <= 94: | | elif 90 <= grade_num <= 94: |
| grade = "A" | | grade = "A" |
| elif 80 <= grade_num <= 89: | | elif 80 <= grade_num <= 89: |
| grade = "B+" | | grade = "B+" |
| elif 70 <= grade_num <= 79: | | elif 70 <= grade_num <= 79: |
| grade = "B" | | grade = "B" |
| elif 60 <= grade_num <= 69: | | elif 60 <= grade_num <= 69: |
| grade = "C+" | | grade = "C+" |
| elif 50 <= grade_num <= 59: | | elif 50 <= grade_num <= 59: |
| grade = "C" | | grade = "C" |
| elif 0 <= grade_num <= 49: | | elif 0 <= grade_num <= 49: |
| grade = "F" | | grade = "F" |
| elif grade_num > 100: | | elif grade_num > 100: |
| grade = "invalid score" | | grade = "invalid score" |
| elif grade_num < 0: | | elif grade_num < 0: |
| grade = "invalid score" | | grade = "invalid score" |
n | print(grade)i = input() | n | print(grade) |
| | | i = input() |
| if(i == "A"): | | if(i == "A"): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == "a"): | | elif(i == "a"): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == "0"): | | elif(i == "0"): |
t | print ("First Number")red_amount = int(input()) | t | print ("First Number") |
| | | red_amount = int(input()) |
| green_amount = int(input()) | | green_amount = int(input()) |
| blue_amount = int(input()) | | blue_amount = int(input()) |
| min_value = red_amount | | min_value = red_amount |
| if green_amount < min_value: | | if green_amount < min_value: |
| min_value = green_amount | | min_value = green_amount |
| if blue_amount < min_value: | | if blue_amount < min_value: |
| min_value = blue_amount | | min_value = blue_amount |
| red_amount = red_amount - min_value | | red_amount = red_amount - min_value |
| green_amount = green_amount - min_value | | green_amount = green_amount - min_value |
| blue_amount = blue_amount - min_value | | blue_amount = blue_amount - min_value |
| print(red_amount, green_amount, blue_amount) | | print(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).
n | score=int(input()) | n | score=int(input("")) |
| grade="" | | grade="" |
| if score>=0 and score<=100: | | if score>=0 and score<=100: |
| if score>=95: | | if score>=95: |
n | grade="A+" | n | grade="A+" |
| elif score>=90: | | elif score>=90: |
n | grade="A" | n | grade="A" |
| elif score>=80: | | elif score>=80: |
n | grade="B+" | n | grade="B+" |
| elif score>=70: | | elif score>=70: |
| grade="B" | | grade="B" |
| elif score>=60: | | elif score>=60: |
| grade="C+" | | grade="C+" |
| elif score>=50: | | elif score>=50: |
| grade="C" | | grade="C" |
| else: | | else: |
| grade="F" | | grade="F" |
| print(grade) | | print(grade) |
| else: | | else: |
n | print("invalid score") i =(input()) | n | print("invalid score") i = str(input()) |
| if(i == 'A'): | | if (i == 'A'): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == 'a'): | | elif(i == 'a'): |
| print ("First Letter") | | print ("First Letter") |
t | elif(i == '0'): | t | else: |
| | | (i == "0") |
| print ("First Number") | | print ("First Number") |
| red = int(input()) | | red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
| color = (red, green, blue) | | color = (red, green, blue) |
| min_val = min(color) | | min_val = min(color) |
| red_without_gray = red - min_val | | red_without_gray = red - min_val |
| green_without_gray = green - min_val | | green_without_gray = green - min_val |
| blue_without_gray = blue - min_val | | blue_without_gray = blue - min_val |
| color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) | | color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) |
| print(red_without_gray,green_without_gray,blue_without_gray) | | print(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).
n | score=int(input("")) | n | score=int(input()) |
| grade="" | | grade="" |
| if score>=0 and score<=100: | | if score>=0 and score<=100: |
| if score>=95: | | if score>=95: |
n | grade="A+" | n | grade="A+" |
| elif score>=90: | | elif score>=90: |
n | grade="A" | n | grade="A" |
| elif score>=80: | | elif score>=80: |
n | grade="B+" | n | grade="B+" |
| elif score>=70: | | elif score>=70: |
| grade="B" | | grade="B" |
| elif score>=60: | | elif score>=60: |
| grade="C+" | | grade="C+" |
| elif score>=50: | | elif score>=50: |
| grade="C" | | grade="C" |
| else: | | else: |
| grade="F" | | grade="F" |
| print(grade) | | print(grade) |
| else: | | else: |
n | print("invalid score") i = str(input()) | n | print("invalid score") i =(input()) |
| if (i == 'A'): | | if(i == 'A'): |
| print ("First Letter") | | print ("First Letter") |
| elif(i == 'a'): | | elif(i == 'a'): |
| print ("First Letter") | | print ("First Letter") |
t | else: | t | elif(i == '0'): |
| (i == "0") | | |
| print ("First Number") | | print ("First Number") |
| red = int(input()) | | red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
| color = (red, green, blue) | | color = (red, green, blue) |
| min_val = min(color) | | min_val = min(color) |
| red_without_gray = red - min_val | | red_without_gray = red - min_val |
| green_without_gray = green - min_val | | green_without_gray = green - min_val |
| blue_without_gray = blue - min_val | | blue_without_gray = blue - min_val |
| color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) | | color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) |
| print(red_without_gray,green_without_gray,blue_without_gray) | | print(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).
n | score=int(input()) | n | score=int(input()) |
| | | grade="" |
| if score>=0 and score<=100: | | if score>=0 and score<=100: |
| if score>=95: | | if score>=95: |
| grade="A+" | | grade="A+" |
| elif score>=90: | | elif score>=90: |
| grade="A" | | grade="A" |
| elif score>=80: | | elif score>=80: |
| grade="B+" | | grade="B+" |
| elif score>=70: | | elif score>=70: |
| grade="B" | | grade="B" |
| elif score>=60: | | elif score>=60: |
n | grade="C+" | n | grade="C+" |
| elif score>=50: | | elif score>=50: |
n | grade="C" | n | grade="C" |
| else: | | else: |
| grade="F" | | grade="F" |
| print(grade) | | print(grade) |
| else: | | else: |
n | print("invalid score")i = (input()) | n | print("invalid score")i=(input()) |
| if(i == 'A'): | | if(i=='A'): |
| | | print("First Letter") |
| | | elif(i=='a'): |
| print("First Letter") | | print("First Letter") |
t | elif(i == 'a'): | t | |
| print ("First Letter") | | |
| elif(i == "0"): | | elif(i=="0"): |
| print ("First Number") | | print("First Number") |
| red = int(input()) | | red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
| color = (red, green, blue) | | color = (red, green, blue) |
| min_val = min(color) | | min_val = min(color) |
| red_without_gray = red - min_val | | red_without_gray = red - min_val |
| green_without_gray = green - min_val | | green_without_gray = green - min_val |
| blue_without_gray = blue - min_val | | blue_without_gray = blue - min_val |
| color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) | | color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) |
| print(red_without_gray,green_without_gray,blue_without_gray) | | print(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).
n | score=int(input()) | n | score=int(input()) |
| grade="" | | |
| if score>=0 and score<=100: | | if score>=0 and score<=100: |
| if score>=95: | | if score>=95: |
| grade="A+" | | grade="A+" |
| elif score>=90: | | elif score>=90: |
| grade="A" | | grade="A" |
| elif score>=80: | | elif score>=80: |
| grade="B+" | | grade="B+" |
| elif score>=70: | | elif score>=70: |
| grade="B" | | grade="B" |
| elif score>=60: | | elif score>=60: |
n | grade="C+" | n | grade="C+" |
| elif score>=50: | | elif score>=50: |
n | grade="C" | n | grade="C" |
| else: | | else: |
| grade="F" | | grade="F" |
| print(grade) | | print(grade) |
| else: | | else: |
n | print("invalid score")i=(input()) | n | print("invalid score")i = (input()) |
| if(i=='A'): | | if(i == 'A'): |
| print("First Letter") | | |
| elif(i=='a'): | | |
| print("First Letter") | | print("First Letter") |
t | | t | elif(i == 'a'): |
| | | print ("First Letter") |
| elif(i=="0"): | | elif(i == "0"): |
| print("First Number") | | print ("First Number") |
| red = int(input()) | | red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
| color = (red, green, blue) | | color = (red, green, blue) |
| min_val = min(color) | | min_val = min(color) |
| red_without_gray = red - min_val | | red_without_gray = red - min_val |
| green_without_gray = green - min_val | | green_without_gray = green - min_val |
| blue_without_gray = blue - min_val | | blue_without_gray = blue - min_val |
| color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) | | color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) |
| print(red_without_gray,green_without_gray,blue_without_gray) | | print(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).
f | score = int(input()) | f | score = int(input()) |
| if score > 100 or score < 0: | | if score > 100 or score < 0: |
| print('invalid score') | | print('invalid score') |
| if 0 <= score < 50: | | if 0 <= score < 50: |
| print('F') | | print('F') |
n | if 50<= score < 60: | n | if 50 <= score < 60: |
| print('C') | | print('C') |
| if 60 <= score < 70: | | if 60 <= score < 70: |
| print('C+') | | print('C+') |
n | if 70<= score < 80: | n | if 70 <= score < 80: |
| print('B') | | print('B') |
| if 80 <= score < 90: | | if 80 <= score < 90: |
| print('B') | | print('B') |
n | if 90<= score < 95: | n | if 90 <= score < 95: |
| print('A') | | print('A') |
| if 95 <= score < 100: | | if 95 <= score < 100: |
n | print('A+') | n | print('A+')i = input() |
| i = input() | | |
| if(i == 'A'): | | if(i == 'A'): |
| print("First Letter") | | print("First Letter") |
n | elif(i == "a"): | n | elif(i == 'a'): |
| print("First Letter") | | print("First Letter") |
n | elif (i == "0"): | n | elif(i == "0"): |
| print("First Number")r = int(input()) | | print("First Number") |
| | | r = int(input()) |
| g = int(input()) | | g = int(input()) |
| b = int(input()) | | b = int(input()) |
t | rgb = [r, g, b] | t | rgb = [r,g,b] |
| rgbmin = min(rgb) | | rgbmin = min(rgb) |
| newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)] | | newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)] |
| print(newrgb[0],newrgb[1],newrgb[2]) | | print(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).
f | score = int(input()) | f | score = int(input()) |
| if score > 100 or score < 0: | | if score > 100 or score < 0: |
| print('invalid score') | | print('invalid score') |
| if 0 <= score < 50: | | if 0 <= score < 50: |
| print('F') | | print('F') |
n | if 50 <= score < 60: | n | if 50<= score < 60: |
| print('C') | | print('C') |
| if 60 <= score < 70: | | if 60 <= score < 70: |
| print('C+') | | print('C+') |
n | if 70 <= score < 80: | n | if 70<= score < 80: |
| print('B') | | print('B') |
| if 80 <= score < 90: | | if 80 <= score < 90: |
| print('B') | | print('B') |
n | if 90 <= score < 95: | n | if 90<= score < 95: |
| print('A') | | print('A') |
| if 95 <= score < 100: | | if 95 <= score < 100: |
n | print('A+')i = input() | n | print('A+') |
| | | i = input() |
| if(i == 'A'): | | if(i == 'A'): |
| print("First Letter") | | print("First Letter") |
n | elif(i == 'a'): | n | elif(i == "a"): |
| print("First Letter") | | print("First Letter") |
n | elif(i == "0"): | n | elif (i == "0"): |
| print("First Number") | | print("First Number")r = int(input()) |
| r = int(input()) | | |
| g = int(input()) | | g = int(input()) |
| b = int(input()) | | b = int(input()) |
t | rgb = [r,g,b] | t | rgb = [r, g, b] |
| rgbmin = min(rgb) | | rgbmin = min(rgb) |
| newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)] | | newrgb = [(r-rgbmin),(g-rgbmin),(b-rgbmin)] |
| print(newrgb[0],newrgb[1],newrgb[2]) | | print(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).
n | score=int(input("")) | n | score=int(input()) |
| grade="" | | grade="" |
| if score>=0 and score<=100: | | if score>=0 and score<=100: |
| if score>=95: | | if score>=95: |
| grade="A+" | | grade="A+" |
| elif score>=90: | | elif score>=90: |
| grade="A" | | grade="A" |
| elif score>=80: | | elif score>=80: |
| grade="B+" | | grade="B+" |
| elif score>=70: | | elif score>=70: |
| grade="B" | | grade="B" |
| elif score>=60: | | elif score>=60: |
| grade="C+" | | grade="C+" |
| elif score>=50: | | elif score>=50: |
| grade="C" | | grade="C" |
| else: | | else: |
| grade="F" | | grade="F" |
n | print(""+grade) | n | print("" +grade) |
| else: | | else: |
t | print("invalid score") i = (input()) | t | print("invalid score") i = input() |
| if(i == 'A'): | | if(i=='A'): |
| print ("First Letter") | | print("First Letter") |
| elif (i == 'a'): | | elif(i=='a'): |
| print ("First Letter") | | print("First Letter") |
| elif(i == "0"): | | elif(i=='0'): |
| print ("First Number") | | print("First Number")red_amount = int(input()) |
| red_amount = int(input()) | | |
| green_amount = int(input()) | | green_amount = int(input()) |
| blue_amount = int(input()) | | blue_amount = int(input()) |
| minValue = min(red_amount,green_amount,blue_amount) | | minValue = min(red_amount,green_amount,blue_amount) |
| print((red_amount-minValue),(green_amount-minValue),(blue_amount-minValue)) | | print((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).
n | score=int(input()) | n | score=int(input("")) |
| grade="" | | grade="" |
| if score>=0 and score<=100: | | if score>=0 and score<=100: |
| if score>=95: | | if score>=95: |
| grade="A+" | | grade="A+" |
| elif score>=90: | | elif score>=90: |
| grade="A" | | grade="A" |
| elif score>=80: | | elif score>=80: |
| grade="B+" | | grade="B+" |
| elif score>=70: | | elif score>=70: |
| grade="B" | | grade="B" |
| elif score>=60: | | elif score>=60: |
| grade="C+" | | grade="C+" |
| elif score>=50: | | elif score>=50: |
| grade="C" | | grade="C" |
| else: | | else: |
| grade="F" | | grade="F" |
n | print("" +grade) | n | print(""+grade) |
| else: | | else: |
t | print("invalid score") i = input() | t | print("invalid score") i = (input()) |
| if(i=='A'): | | if(i == 'A'): |
| print("First Letter") | | print ("First Letter") |
| elif(i=='a'): | | elif (i == 'a'): |
| print("First Letter") | | print ("First Letter") |
| elif(i=='0'): | | elif(i == "0"): |
| print("First Number")red_amount = int(input()) | | print ("First Number") |
| | | red_amount = int(input()) |
| green_amount = int(input()) | | green_amount = int(input()) |
| blue_amount = int(input()) | | blue_amount = int(input()) |
| minValue = min(red_amount,green_amount,blue_amount) | | minValue = min(red_amount,green_amount,blue_amount) |
| print((red_amount-minValue),(green_amount-minValue),(blue_amount-minValue)) | | print((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).
f | score=int(input("")) | f | score=int(input("")) |
| grade="" | | grade="" |
| if score>=0 and score<=100: | | if score>=0 and score<=100: |
| if score>=95: | | if score>=95: |
| grade="A+" | | grade="A+" |
n | print("Grade Letter : "+grade) | n | |
| elif score>=90: | | elif score>=90: |
| grade="A" | | grade="A" |
n | print("Grade Letter : "+grade) | n | |
| elif score>=80: | | elif score>=80: |
| grade="B+" | | grade="B+" |
n | print("Grade Letter : "+grade) | n | |
| elif score>=70: | | elif score>=70: |
| grade="B" | | grade="B" |
n | print("Grade Letter : "+grade) | n | |
| elif score>=60: | | elif score>=60: |
| grade="C+" | | grade="C+" |
n | print(grade) | n | |
| elif score>=50: | | elif score>=50: |
| grade="C" | | grade="C" |
n | print(grade) | n | |
| else: | | else: |
| grade="F" | | grade="F" |
n | print(grade) | n | print(grade) |
| else: | | else: |
n | print("invalid score") i = input() | n | print("invalid score") i = str(input()) |
| if i == 'A': | | if (i == 'A'): |
| print ("First Letter") | | print ("First Letter") |
n | elif i == 'a': | n | elif(i == 'a'): |
| print ("First Letter") | | print ("First Letter") |
t | elif i == '0': | t | else: |
| | | (i == "0") |
| print ("First Number") | | print ("First Number") |
| red = int(input()) | | red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
| color = (red, green, blue) | | color = (red, green, blue) |
| min_val = min(color) | | min_val = min(color) |
| red_without_gray = red - min_val | | red_without_gray = red - min_val |
| green_without_gray = green - min_val | | green_without_gray = green - min_val |
| blue_without_gray = blue - min_val | | blue_without_gray = blue - min_val |
| color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) | | color_without_gray = (red_without_gray,green_without_gray,blue_without_gray) |
| print(red_without_gray,green_without_gray,blue_without_gray) | | print(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).
f | score = int(input()) | f | score = int(input()) |
| if 95 <= score <= 100: | | if 95 <= score <= 100: |
| print("A+") | | print("A+") |
| elif 90 <= score <= 94: | | elif 90 <= score <= 94: |
| print("A") | | print("A") |
| elif 80 <= score <= 89: | | elif 80 <= score <= 89: |
| print("B+") | | print("B+") |
| elif 70 <= score <= 79: | | elif 70 <= score <= 79: |
| print("B") | | print("B") |
| elif 60 <= score <= 69: | | elif 60 <= score <= 69: |
| print("C+") | | print("C+") |
| elif 50 <= score <= 59: | | elif 50 <= score <= 59: |
| print("C") | | print("C") |
| elif 0 <= score <= 49: | | elif 0 <= score <= 49: |
| print("F") | | print("F") |
| else: | | else: |
n | print("invalid score") | n | print("invalid score")i = input() |
| i = str(input()) | | |
| if i == 'A': | | if(i == 'A'): |
| print("First Letter") | | print("First Letter") |
n | elif i == "a": | n | elif(i == 'a'): |
| print("First Letter") | | print("First Letter") |
t | elif i == "0": | t | elif(i == "0"): |
| print("First Number")n1 = int(input()) | | print("First Number") |
| | | color1 = int(input()) |
| n2 = int(input()) | | color2 = int(input()) |
| n3 = int(input()) | | color3 = int(input()) |
| list = [n1, n2, n3] | | myList = [color1, color2, color3] |
| print(n1 - min(list), n2 - min(list), n3 - min(list)) | | print(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).
f | score = int(input()) | f | score = int(input()) |
| if 95 <= score <= 100: | | if 95 <= score <= 100: |
| print("A+") | | print("A+") |
| elif 90 <= score <= 94: | | elif 90 <= score <= 94: |
| print("A") | | print("A") |
| elif 80 <= score <= 89: | | elif 80 <= score <= 89: |
| print("B+") | | print("B+") |
| elif 70 <= score <= 79: | | elif 70 <= score <= 79: |
| print("B") | | print("B") |
| elif 60 <= score <= 69: | | elif 60 <= score <= 69: |
| print("C+") | | print("C+") |
| elif 50 <= score <= 59: | | elif 50 <= score <= 59: |
| print("C") | | print("C") |
| elif 0 <= score <= 49: | | elif 0 <= score <= 49: |
| print("F") | | print("F") |
| else: | | else: |
n | print("invalid score")i = input() | n | print("invalid score") |
| | | i = str(input()) |
| if(i == 'A'): | | if i == 'A': |
| print("First Letter") | | print("First Letter") |
n | elif(i == 'a'): | n | elif i == "a": |
| print("First Letter") | | print("First Letter") |
t | elif(i == "0"): | t | elif i == "0": |
| print("First Number") | | print("First Number")n1 = int(input()) |
| color1 = int(input()) | | |
| color2 = int(input()) | | n2 = int(input()) |
| color3 = int(input()) | | n3 = int(input()) |
| myList = [color1, color2, color3] | | list = [n1, n2, n3] |
| print(color1-min(myList), color2-min(myList), color3-min(myList)) | | print(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).
n | score = int(input()) | n | score=int(input()) |
| if 95<=score<=100: | | if 95<=score<=100: |
| print("A+") | | print("A+") |
| elif 90<=score<=94: | | elif 90<=score<=94: |
| print("A") | | print("A") |
| elif 80<=score<=89: | | elif 80<=score<=89: |
| print("B+") | | print("B+") |
| elif 70<=score<=79: | | elif 70<=score<=79: |
| print("B") | | print("B") |
| elif 60<=score<=69: | | elif 60<=score<=69: |
| print("C+") | | print("C+") |
| elif 50<=score<=59: | | elif 50<=score<=59: |
| print("C") | | print("C") |
| elif 0<=score<=49: | | elif 0<=score<=49: |
| print("F") | | print("F") |
| else: | | else: |
n | print("invalid score")i = input() | n | print("invalid score")i =input() |
| if i == 'A': | | if i == 'A': |
| print("First Letter") | | print("First Letter") |
| elif i == 'a': | | elif i == 'a': |
| print("First Letter") | | print("First Letter") |
n | elif i == "0": | n | elif i == '0': |
| print("First Number") | | print("First Number") |
t | r = int(input()) | t | red = int(input()) |
| g = int(input()) | | green = int(input()) |
| b = int(input()) | | blue = int(input()) |
| list = [r,g,b] | | myList=[red,green,blue] |
| a = min(list) | | print((red - min(myList)),(green - min(myList)),(blue - min(myList))) |
| print(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).
n | score=int(input()) | n | score = int(input()) |
| if 95<=score<=100: | | if 95<=score<=100: |
| print("A+") | | print("A+") |
| elif 90<=score<=94: | | elif 90<=score<=94: |
| print("A") | | print("A") |
| elif 80<=score<=89: | | elif 80<=score<=89: |
| print("B+") | | print("B+") |
| elif 70<=score<=79: | | elif 70<=score<=79: |
| print("B") | | print("B") |
| elif 60<=score<=69: | | elif 60<=score<=69: |
| print("C+") | | print("C+") |
| elif 50<=score<=59: | | elif 50<=score<=59: |
| print("C") | | print("C") |
| elif 0<=score<=49: | | elif 0<=score<=49: |
| print("F") | | print("F") |
| else: | | else: |
n | print("invalid score")i =input() | n | print("invalid score")i = input() |
| if i == 'A': | | if i == 'A': |
| print("First Letter") | | print("First Letter") |
| elif i == 'a': | | elif i == 'a': |
| print("First Letter") | | print("First Letter") |
n | elif i == '0': | n | elif i == "0": |
| print("First Number") | | print("First Number") |
t | red = int(input()) | t | r = int(input()) |
| green = int(input()) | | g = int(input()) |
| blue = int(input()) | | b = int(input()) |
| myList=[red,green,blue] | | list = [r,g,b] |
| print((red - min(myList)),(green - min(myList)),(blue - min(myList))) | | a = min(list) |
| | | print(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).
n | grade_input = int(input()) | n | grade = int(input()) |
| if 100 >= grade_input >= 95: | | if 0 <= grade < 50: |
| | | print('F') |
| | | elif grade < 60: |
| | | print('C') |
| | | elif grade < 70: |
| | | print('C+') |
| | | elif grade < 80: |
| | | print('B') |
| | | elif grade < 90: |
| | | print('B+') |
| | | elif grade < 95: |
| | | print('A') |
| | | elif grade <= 100: |
| print('A+') | | print('A+') |
n | elif 95 > grade_input >= 90: | n | |
| print('A') | | |
| elif 80 > grade_input >= 90: | | |
| print('B+') | | |
| elif 80 > grade_input >= 70: | | |
| print('B') | | |
| elif 70 > grade_input >= 60: | | |
| print('C+') | | |
| elif 60 > grade_input >= 50: | | |
| print('C') | | |
| elif 50 > grade_input >= 0: | | |
| print('F') | | |
| else: | | else: |
| print('invalid score')i = input() | | print('invalid score')i = input() |
| if(i == 'A'): | | if(i == 'A'): |
n | print("First Letter") | n | print("First Letter") |
| elif(i == 'a'): | | elif(i == 'a'): |
n | print("First Letter") | n | print("First Letter") |
| elif(int(i) == 0): | | elif(i == '0'): |
| print("First Number") | | print("First Number") |
| r = int(input()) | | r = int(input()) |
| g = int(input()) | | g = int(input()) |
| b = int(input()) | | b = int(input()) |
t | rgb_list = [r, g, b] | t | rgb = [r, g, b] |
| min = min(rgb_list) | | min = min(rgb) |
| r -= min | | r = r - min |
| g -= min | | g = g - min |
| b -= min | | b = b - min |
| print(r, g, b) | | print(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).
n | grade = int(input()) | n | grade_input = int(input()) |
| if 0 <= grade < 50: | | if 100 >= grade_input >= 95: |
| | | print('A+') |
| | | elif 95 > grade_input >= 90: |
| | | print('A') |
| | | elif 80 > grade_input >= 90: |
| | | print('B+') |
| | | elif 80 > grade_input >= 70: |
| | | print('B') |
| | | elif 70 > grade_input >= 60: |
| | | print('C+') |
| | | elif 60 > grade_input >= 50: |
| | | print('C') |
| | | elif 50 > grade_input >= 0: |
| print('F') | | print('F') |
n | elif grade < 60: | n | |
| print('C') | | |
| elif grade < 70: | | |
| print('C+') | | |
| elif grade < 80: | | |
| print('B') | | |
| elif grade < 90: | | |
| print('B+') | | |
| elif grade < 95: | | |
| print('A') | | |
| elif grade <= 100: | | |
| print('A+') | | |
| else: | | else: |
| print('invalid score')i = input() | | print('invalid score')i = input() |
| if(i == 'A'): | | if(i == 'A'): |
n | print("First Letter") | n | print("First Letter") |
| elif(i == 'a'): | | elif(i == 'a'): |
n | print("First Letter") | n | print("First Letter") |
| elif(i == '0'): | | elif(int(i) == 0): |
| print("First Number") | | print("First Number") |
| r = int(input()) | | r = int(input()) |
| g = int(input()) | | g = int(input()) |
| b = int(input()) | | b = int(input()) |
t | rgb = [r, g, b] | t | rgb_list = [r, g, b] |
| min = min(rgb) | | min = min(rgb_list) |
| r = r - min | | r -= min |
| g = g - min | | g -= min |
| b = b - min | | b -= min |
| print(r, g, b) | | print(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).
n | score =int(input()) | n | score = int(input()) |
| if score>=101: | | if score >= 101: |
| print('invalid score') | | print('invalid score') |
n | elif score >= 95: | n | elif score >= 95: |
| print("A+") | | print("A+") |
| elif 90 <= score <= 94: | | elif 90 <= score <= 94: |
| print("A") | | print("A") |
n | elif 80<= score <=89: | n | elif 80 <= score <= 89: |
| print("B+") | | print("B+") |
n | elif 70<= score <= 79: | n | elif 70 <= score <= 79: |
| print("B") | | print("B") |
n | elif 60 <= score <= 69: | n | elif 60 <= score <= 69: |
| print("C+") | | print("C+") |
n | elif 50 <= score <= 59: | n | elif 50 <= score <= 59: |
| print("C") | | print("C") |
n | elif 0 <= score <= 49: | n | elif 0 <= score <= 49: |
| print("F")i = str(input()) | | print("F")i = str(input()) |
n | if(i == 'A'): | n | if i == 'A': |
| print("First Letter") | | |
| elif (i == "a"): | | |
| print ("First Letter") | | print ("First Letter") |
t | | t | elif i == 'a': |
| | | print ("First Letter") |
| elif (i == "0"): | | elif i == '0': |
| print ("First Number")red = int(input()) | | print ("First Number") |
| | | red = int(input()) |
| green = int(input()) | | green=int(input()) |
| blue = int(input()) | | blue=int(input()) |
| m=min([red, green, blue]) | | m=min([red, green,blue]) |
| print(str(red-m)+" "+str(green-m)+" "+str(blue-m)) | | print(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).
n | score = int(input()) | n | score =int(input()) |
| if score >= 101: | | if score>=101: |
| print('invalid score') | | print('invalid score') |
n | elif score >= 95: | n | elif score >= 95: |
| print("A+") | | print("A+") |
| elif 90 <= score <= 94: | | elif 90 <= score <= 94: |
| print("A") | | print("A") |
n | elif 80 <= score <= 89: | n | elif 80<= score <=89: |
| print("B+") | | print("B+") |
n | elif 70 <= score <= 79: | n | elif 70<= score <= 79: |
| print("B") | | print("B") |
n | elif 60 <= score <= 69: | n | elif 60 <= score <= 69: |
| print("C+") | | print("C+") |
n | elif 50 <= score <= 59: | n | elif 50 <= score <= 59: |
| print("C") | | print("C") |
n | elif 0 <= score <= 49: | n | elif 0 <= score <= 49: |
| print("F")i = str(input()) | | print("F")i = str(input()) |
n | if i == 'A': | n | if(i == 'A'): |
| | | print("First Letter") |
| | | elif (i == "a"): |
| print ("First Letter") | | print ("First Letter") |
t | elif i == 'a': | t | |
| print ("First Letter") | | |
| elif i == '0': | | elif (i == "0"): |
| print ("First Number") | | print ("First Number")red = int(input()) |
| red = int(input()) | | |
| green=int(input()) | | green = int(input()) |
| blue=int(input()) | | blue = int(input()) |
| m=min([red, green,blue]) | | m=min([red, green, blue]) |
| print(str(red-m)+" "+str(green-m)+" "+str(blue-m)) | | print(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).
n | grade = int(input()) | n | score = int(input()) |
| if 95<=grade<=100: | | if 95<=score<=100: |
| print('A+') | | print('A+') |
n | elif 90<=grade<=94: | n | elif 90<=score<=94: |
| print('A') | | print('A') |
n | elif 80<=grade<=89: | n | elif 80<=score<=89: |
| print('B+') | | print('B+') |
n | elif 70<=grade<=79: | n | elif 70<=score<=79: |
| print('B') | | print('B') |
n | elif 60<=grade<=69: | n | elif 60<=score<=69: |
| print('C+') | | print('C+') |
n | elif 50<=grade<=59: | n | elif 50<=score<=59: |
| print('C') | | print('C') |
n | elif 0<=grade<=49: | n | elif 0<=score<=49: |
| print('F') | | print('F') |
| else: | | else: |
n | print('invalid score') | n | print('invalid score')i = input() |
| i = input() | | |
| if(i == 'A'): | | if i == ('A'): |
| print("First Letter") | | print("First Letter") |
t | elif(i == 'a'): | t | elif i == ('a'): |
| print('First Letter') | | print("First Letter") |
| elif(i == "0"): | | else: |
| print('First Number')red=int(input()) | | print("First Number")red = int(input()) |
| green=int(input()) | | green = int(input()) |
| blue=int(input()) | | blue = int(input()) |
| minimum = min(red,green,blue) | | m = min([red,green,blue]) |
| print(red-minimum, green-minimum, blue-minimum) | | print(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).
n | score = int(input()) | n | grade = int(input()) |
| if 95<=score<=100: | | if 95<=grade<=100: |
| print('A+') | | print('A+') |
n | elif 90<=score<=94: | n | elif 90<=grade<=94: |
| print('A') | | print('A') |
n | elif 80<=score<=89: | n | elif 80<=grade<=89: |
| print('B+') | | print('B+') |
n | elif 70<=score<=79: | n | elif 70<=grade<=79: |
| print('B') | | print('B') |
n | elif 60<=score<=69: | n | elif 60<=grade<=69: |
| print('C+') | | print('C+') |
n | elif 50<=score<=59: | n | elif 50<=grade<=59: |
| print('C') | | print('C') |
n | elif 0<=score<=49: | n | elif 0<=grade<=49: |
| print('F') | | print('F') |
| else: | | else: |
n | print('invalid score')i = input() | n | print('invalid score') |
| | | i = input() |
| if i == ('A'): | | if(i == 'A'): |
| print("First Letter") | | print("First Letter") |
t | elif i == ('a'): | t | elif(i == 'a'): |
| print("First Letter") | | print('First Letter') |
| else: | | elif(i == "0"): |
| print("First Number")red = int(input()) | | print('First Number')red=int(input()) |
| green = int(input()) | | green=int(input()) |
| blue = int(input()) | | blue=int(input()) |
| m = min([red,green,blue]) | | minimum = min(red,green,blue) |
| print(str(red-m)+" "+str(green-m)+" "+str(blue-m)) | | print(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).
f | score = int(input()) | f | score = int(input()) |
| if 95 <= score <= 100: | | if 95 <= score <= 100: |
| print('A+') | | print('A+') |
| if 90 <= score <= 94: | | if 90 <= score <= 94: |
| print('A') | | print('A') |
| if 80 <= score <= 89: | | if 80 <= score <= 89: |
| print('B+') | | print('B+') |
| if 70 <= score <= 79: | | if 70 <= score <= 79: |
| print('B') | | print('B') |
| if 60 <= score <= 69: | | if 60 <= score <= 69: |
| print('C+') | | print('C+') |
| if 50 <= score <= 59: | | if 50 <= score <= 59: |
| print('C') | | print('C') |
| if 0 <= score <= 49: | | if 0 <= score <= 49: |
| print('F') | | print('F') |
n | else: | n | else: print('invalid score') |
| print('invalid score')i = input() | | i = str(input()) |
| | | if i == '0': |
| | | print("First Number") |
| if (i == 'A'): | | elif i == 'A': |
| print ("First Letter") | | print("First Letter") |
| if (i == 'a'): | | elif i == 'a': |
| print ("First Letter") | | print("First Letter") |
| if [i == 0]: | | red = int(input()) |
| print ("First Number")red = int(input()) | | |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
t | myList = [red, green, blue] | t | scale = [red, green, blue] |
| smallest_value = min(myList) | | smallest = min(scale) |
| print (red - smallest_value, green - smallest_value, blue - smallest_value) | | red = red - smallest |
| | | green = green - smallest |
| | | blue = blue - smallest |
| | | print(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).
f | score = int(input()) | f | score = int(input()) |
| if 95 <= score <= 100: | | if 95 <= score <= 100: |
| print('A+') | | print('A+') |
| if 90 <= score <= 94: | | if 90 <= score <= 94: |
| print('A') | | print('A') |
| if 80 <= score <= 89: | | if 80 <= score <= 89: |
| print('B+') | | print('B+') |
| if 70 <= score <= 79: | | if 70 <= score <= 79: |
| print('B') | | print('B') |
| if 60 <= score <= 69: | | if 60 <= score <= 69: |
| print('C+') | | print('C+') |
| if 50 <= score <= 59: | | if 50 <= score <= 59: |
| print('C') | | print('C') |
| if 0 <= score <= 49: | | if 0 <= score <= 49: |
| print('F') | | print('F') |
n | else: print('invalid score') | n | else: |
| i = str(input()) | | print('invalid score')i = input() |
| if i == '0': | | |
| print("First Number") | | |
| elif i == 'A': | | if (i == 'A'): |
| print("First Letter") | | print ("First Letter") |
| elif i == 'a': | | if (i == 'a'): |
| print("First Letter") | | print ("First Letter") |
| red = int(input()) | | if [i == 0]: |
| | | print ("First Number")red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
t | scale = [red, green, blue] | t | myList = [red, green, blue] |
| smallest = min(scale) | | smallest_value = min(myList) |
| red = red - smallest | | print (red - smallest_value, green - smallest_value, blue - smallest_value) |
| green = green - smallest | | |
| blue = blue - smallest | | |
| print(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).
n | grade = int(input()) | n | score_range = int(input()) |
| if(grade < 0 or grade > 100): | | if score_range <= 49: |
| print("invalid score") | | print("F") |
| elif(grade >= 95): | | elif score_range <= 59: |
| | | print("C") |
| | | elif score_range <= 69: |
| | | print("C+") |
| | | elif score_range <= 79: |
| | | print("B") |
| | | elif score_range <= 89: |
| | | print("B+") |
| | | elif score_range <= 94: |
| | | print("A") |
| | | elif score_range <= 100: |
| print("A+") | | print("A+") |
n | elif(grade >= 90): | n | |
| print("A") | | |
| elif(grade >= 80): | | |
| print("B+") | | |
| elif(grade >= 70): | | |
| print("B") | | |
| elif(grade >= 60): | | |
| print("C+") | | |
| elif(grade >= 50): | | |
| print("C") | | |
| else: | | else: |
n | print("F")i = input() | n | print("invalid score")i = input() |
| if(i == 'A'): | | if (i == "A"): |
| print("First Letter") | | print("First Letter") |
n | elif(i == 'a'): | n | elif(i == "a"): |
| print("First Letter") | | print("First Letter") |
| elif(i == "0"): | | elif(i == "0"): |
n | print("First Number")red = int(input()) | n | print ("First Number")red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
t | min = min([red, green, blue]) | t | min = int(min(red,green,blue)) |
| print(red-min, green-min, blue-min) | | print(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).
n | score_range = int(input()) | n | grade = int(input()) |
| if score_range <= 49: | | if(grade < 0 or grade > 100): |
| | | print("invalid score") |
| | | elif(grade >= 95): |
| | | print("A+") |
| | | elif(grade >= 90): |
| print("F") | | print("A") |
| elif score_range <= 59: | | elif(grade >= 80): |
| | | print("B+") |
| | | elif(grade >= 70): |
| | | print("B") |
| | | elif(grade >= 60): |
| | | print("C+") |
| | | elif(grade >= 50): |
| print("C") | | print("C") |
n | elif score_range <= 69: | n | |
| print("C+") | | |
| elif score_range <= 79: | | |
| print("B") | | |
| elif score_range <= 89: | | |
| print("B+") | | |
| elif score_range <= 94: | | |
| print("A") | | |
| elif score_range <= 100: | | |
| print("A+") | | |
| else: | | else: |
n | print("invalid score")i = input() | n | print("F")i = input() |
| if (i == "A"): | | if(i == 'A'): |
| print("First Letter") | | print("First Letter") |
n | elif(i == "a"): | n | elif(i == 'a'): |
| print("First Letter") | | print("First Letter") |
| elif(i == "0"): | | elif(i == "0"): |
n | print ("First Number")red = int(input()) | n | print("First Number")red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
t | min = int(min(red,green,blue)) | t | min = min([red, green, blue]) |
| print(red-min,green-min,blue-min) | | print(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).
f | score = int(input()) | f | score = int(input()) |
| if 95<=score<=100: | | if 95<=score<=100: |
| print('A+') | | print('A+') |
| elif 90<=score<=94: | | elif 90<=score<=94: |
| print('A') | | print('A') |
| elif 80<=score<=89: | | elif 80<=score<=89: |
| print('B+') | | print('B+') |
| elif 70<=score<=79: | | elif 70<=score<=79: |
| print('B') | | print('B') |
| elif 60<=score<=69: | | elif 60<=score<=69: |
| print('C+') | | print('C+') |
| elif 50<=score<=59: | | elif 50<=score<=59: |
| print('C') | | print('C') |
| elif 0<=score<=49: | | elif 0<=score<=49: |
| print('F') | | print('F') |
| else: | | else: |
| print('invalid score')i = input() | | print('invalid score')i = input() |
t | if i == 'A': | t | if i == ('A'): |
| print('First Letter') | | print("First Letter") |
| elif i == 'a': | | elif i == ('a'): |
| print('First Letter') | | print("First Letter") |
| elif i == "0": | | else: |
| print ('First Number')sub_color1 = int(input()) | | print("First Number")red = int(input()) |
| sub_color2 = int(input()) | | green = int(input()) |
| sub_color3 = int(input()) | | blue = int(input()) |
| subt = min(sub_color1,sub_color2,sub_color3) | | m = min([red,green,blue]) |
| print(sub_color1-subt, sub_color2-subt, sub_color3-subt) | | print(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).
f | score = int(input()) | f | score = int(input()) |
n | if 0 <= score <= 49: | n | if score < 0: |
| | | print('invalid score') |
| | | elif score < 50: |
| print('F') | | print('F') |
n | elif score <= 59: | n | elif score < 60: |
| print('C') | | print('C') |
n | elif score <= 69: | n | elif score < 70: |
| print('C+') | | print('C+') |
n | elif score <= 79: | n | elif score < 80: |
| print('B') | | print('B') |
n | elif score <= 89: | n | elif score < 90: |
| print('B+') | | print('B+') |
n | elif score <= 94: | n | elif score < 95: |
| print('A') | | print('A') |
| elif score <= 100: | | elif score <= 100: |
| print('A+') | | print('A+') |
| else: | | else: |
n | print('invalid score')i = input() | n | print('invalid score')i = (input()) |
| if i == 'A': | | if(i == 'A'): |
| print("First Letter") | | print("First Letter") |
n | elif i == 'a': | n | elif(i == 'a'): |
| print("First Letter") | | print("First Letter") |
n | elif i == "0": | n | elif(i == "0"): |
| print("First Number")red = int(input()) | | print("First Number")red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
t | min_val = min(red, green, blue) | t | rbg_list = [red, green, blue] |
| red -= min_val | | x = min(rbg_list) |
| green -= min_val | | |
| blue -= min_val | | |
| print(red, green, blue) | | print(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).
f | score = int(input()) | f | score = int(input()) |
n | if score < 0: | n | if 0 <= score <= 49: |
| print('invalid score') | | |
| elif score < 50: | | |
| print('F') | | print('F') |
n | elif score < 60: | n | elif score <= 59: |
| print('C') | | print('C') |
n | elif score < 70: | n | elif score <= 69: |
| print('C+') | | print('C+') |
n | elif score < 80: | n | elif score <= 79: |
| print('B') | | print('B') |
n | elif score < 90: | n | elif score <= 89: |
| print('B+') | | print('B+') |
n | elif score < 95: | n | elif score <= 94: |
| print('A') | | print('A') |
| elif score <= 100: | | elif score <= 100: |
| print('A+') | | print('A+') |
| else: | | else: |
n | print('invalid score')i = (input()) | n | print('invalid score')i = input() |
| if(i == 'A'): | | if i == 'A': |
| print("First Letter") | | print("First Letter") |
n | elif(i == 'a'): | n | elif i == 'a': |
| print("First Letter") | | print("First Letter") |
n | elif(i == "0"): | n | elif i == "0": |
| print("First Number")red = int(input()) | | print("First Number")red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
t | rbg_list = [red, green, blue] | t | min_val = min(red, green, blue) |
| x = min(rbg_list) | | red -= min_val |
| | | green -= min_val |
| | | blue -= min_val |
| print(red - x, green - x, blue -x) | | print(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).
n | grade = int(input()) | n | score = int(input()) |
| if 95 <= grade <= 100: | | if 95 <= score <= 100: |
| print("A+") | | print("A+") |
n | elif 90 <= grade <= 94: | n | elif 90 <= score <= 94: |
| print("A") | | print("A") |
n | elif 80 <= grade <= 89: | n | elif 80 <= score <= 89: |
| print("B+") | | print("B+") |
n | elif 70 <= grade <= 79: | n | elif 70 <= score <= 79: |
| print("B") | | print("B") |
n | elif 60 <= grade <= 69: | n | elif 60 <= score <= 69: |
| print("C+") | | print("C+") |
n | elif 50 <= grade <= 59: | n | elif 50 <= score <= 59: |
| print("C") | | print("C") |
n | elif 0<= grade <= 49: | n | elif 0 <= score <= 49: |
| print("F") | | print("F") |
| else: | | else: |
| print("invalid score")i = input() | | print("invalid score")i = input() |
t | if(i == "A"): | t | if(i == 'A'): |
| print ("First Letter") | | print("First Letter") |
| elif (i == "a"): | | elif(i == 'a'): |
| print ("First Letter") | | print("First Letter") |
| else: | | elif(i == "0"): |
| i = 0 | | print("First Number") |
| print ("First Number")r = int(input()) | | |
| g = int(input()) | | color1 = int(input()) |
| b = int(input()) | | color2 = int(input()) |
| m = min([r,g,b]) | | color3 = int(input()) |
| print(str(r-m),(g-m),(b-m)) | | myList = [color1, color2, color3] |
| | | print(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).
n | score = int(input()) | n | grade = int(input()) |
| if score >= 95 and score <= 100 : | | if grade <= 100 and grade >= 95: |
| print('A+') | | print('A+') |
n | elif score >100 : | n | elif grade <= 94 and grade >= 90: |
| | | print('A') |
| | | elif grade <= 89 and grade >= 80: |
| | | print('B+') |
| | | elif grade <= 79 and grade >= 70: |
| | | print('B') |
| | | elif grade <= 69 and grade >= 60: |
| | | print('C+') |
| | | elif grade <= 59 and grade >= 50: |
| | | print('C') |
| | | elif grade >= 0 and grade <= 49: |
| | | print('F') |
| | | else: |
| print('invalid score') | | print('invalid score') |
t | elif score >= 90 : | t | i = input() |
| print('A') | | if (i == 'A'): |
| elif score >= 80 : | | |
| print('B+') | | |
| elif score >= 70 : | | |
| print('B') | | |
| elif score >= 60 : | | |
| print('C+') | | |
| elif score >= 50 : | | |
| print('C') | | |
| else: | | |
| print('F')theInput = input() | | |
| if theInput == "A" or theInput == "a": | | |
| print ('First Letter') | | print("First Letter") |
| else: | | if (i == 'a'): |
| print ('First Number') | | print("First Letter") |
| firstNum = int(input()) | | if (i == "0"): |
| | | print("First Number")color1 = int(input()) |
| secondNum = int(input()) | | color2 = int(input()) |
| thirdNum = int(input()) | | color3 = int(input()) |
| def subtract (num1,num2,num3): | | my_list = [color1, color2, color3] |
| theMin = 0 | | gray = min(my_list) |
| newNum1 = 0 | | new_color1 = color1 - gray |
| newNum2 = 0 | | new_color2 = color2 - gray |
| newNum3 = 0 | | new_color3 = color3 - gray |
| if (num1 <= num2) and (num1<= num3): | | print(new_color1, new_color2, new_color3) |
| theMin = num1 | | |
| newNum1 = num1 -theMin | | |
| newNum2 = num2 -theMin | | |
| newNum3 = num3 -theMin | | |
| print(newNum1, newNum2, newNum3) | | |
| elif (num2 <= num1) and (num2 <= num3): | | |
| theMin = num2 | | |
| newNum1 = num1 - theMin | | |
| newNum2 = num2 - theMin | | |
| newNum3 = num3 - theMin | | |
| print(newNum1, newNum2, newNum3) | | |
| elif (num3 <= num1) and (num3 <= num2): | | |
| theMin = num3 | | |
| newNum1 = num1 - theMin | | |
| newNum2 = num2 - theMin | | |
| newNum3 = num3 - theMin | | |
| else: | | |
| print("None") | | |
| subtract(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).
t | def main(): | t | grade_score = int(input()) |
| grade1 = int(input()) | | if (grade_score >= 0 and grade_score<=49): |
| determine_grade(grade1) | | letter_grade = 'F' |
| grade2 = int(input()) | | |
| determine_grade(grade2) | | |
| grade3 = int(input()) | | |
| determine_grade(grade3) | | |
| grade4 = int(input()) | | |
| determine_grade(grade4) | | |
| grade5 = int(input()) | | |
| determine_grade(grade5) | | |
| average = calc_average(grade1, grade2, grade3, grade4, grade5) | | |
| print ("\n \nAverage score and results") | | |
| print ("score :" ,average) | | |
| determine_grade(average) | | |
| def calc_average(grade1, grade2, grade3, grade4, grade5): | | |
| average_score = (grade1 + grade2 + grade3 + grade4 + grade5) / (5.0) | | |
| return average_score | | |
| def determine_grade(score): | | |
| if(score <= 49): | | |
| print ("F") | | |
| elif(score >= 50 and score <=59): | | elif (grade_score >=50 and grade_score<59): |
| print ("C") | | letter_grade = 'C' |
| elif(score >= 60 and score <=69): | | elif (grade_score >=60 and grade_score<69): |
| print ("your grade is a D") | | letter_grade = 'C+' |
| elif(score >=70 and score <=79): | | elif (grade_score >=70 and grade_score<79): |
| print ("your grade is a C") | | letter_grade = 'B' |
| elif(score >=80 and score <=89): | | elif (grade_score >=80 and grade_score<89): |
| print ("your grade is a B") | | letter_grade ='B+' |
| | | elif (grade_score >=90 and grade_score<94): |
| | | letter_grade ='A' |
| elif(score >=90 and score<=100): | | elif (grade_score >=95 and grade_score<100): |
| print ("A+") | | letter_grade ='A+' |
| else: | | else: |
| print ('invalid score') | | letter_grade = 'invalid score' |
| return score | | print(letter_grade)i = input() |
| main()i=(input()) | | |
| if(i=='A'): | | if(i == 'A'): |
| print("First Letter") | | print('First Letter') |
| elif(i=='a'): | | elif(i == 'a'): |
| print("First Letter") | | print('First Letter') |
| elif(i=='0'): | | elif(i == '0'): |
| print("First Number")red = int(input()) | | print('First Number') |
| | | red = int(input()) |
| green = int(input()) | | green = int(input()) |
| blue = int(input()) | | blue = int(input()) |
| num1 = (red, green, blue) | | num1 = (red, green, blue) |
| a = min(num1) | | a = min(num1) |
| gray_colors_red = (red - a) | | gray_colors_red = (red - a) |
| gray_color_green = (green - a) | | gray_color_green = (green - a) |
| gray_color_blue = (blue - a) | | gray_color_blue = (blue - a) |
| print(gray_colors_red, gray_color_green, gray_color_blue) | | print(gray_colors_red, gray_color_green, gray_color_blue) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|