def bw_judge(R,G,B): gray=0.299*R+0.587*G+0.114*B if __________: return True else: return False from PIL import Image file=input() im=Image.open(file) pix=im.load() width=im.size[0] height=im.size[1] count=0 for x in range(width): for y in range(height): __________ if bw_judge(R,G,B)==True: __________ if __________: print("True") else: print("False")