pythoncolor-detection

COLOR DETECTION-FORMAT TYPE


What is the meaning and use of this line:

print("The type of this input is {}".format(type(image)))

Solution

  • This line simply prints the data type of the value/object held by the variable image.