educative.io

Bug in the code snippet, drawing a circle

Line 10:
circle = cv2.circle(blank.copy(), (300, 300), 300, (0,0,0), -1)
… draws a black circle on a black background.
I believe the intent was:
circle = cv2.circle(blank.copy(), (300, 300), 300, 255, -1)