mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Fix test
This commit is contained in:
parent
af92097a91
commit
5718c2b6c9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user