This commit is contained in:
Colin Leroy-Mira 2023-07-29 16:28:00 +02:00
parent af92097a91
commit 5718c2b6c9

View File

@ -39,7 +39,7 @@ class Burkes:
def get_greyscale(cls, blue: int, green: int, red: int) -> float:
"""
>>> Burkes.get_greyscale(3, 4, 5)
3.753
4.185
"""
return 0.114 * blue + 0.587 * green + 0.299 * red