Edit CMYK to RBG grammar/spelling

This commit is contained in:
dumbprogrammer 2022-12-23 22:57:33 -06:00 committed by GitHub
parent 219cf9fd25
commit 331017470f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,11 @@ def CMYKtoRGB(c, m, y, k) :
b=round(255.0-((min(1.0, y*(1.0-k)+k))*255.0))
return (r,g,b)
print("Welcome To CMYK to RGB Convertor || INPUT CMYK codes and rest leave it to the convertor\n")
print("Welcome to the CMYK to RGB Convertor || Input CMYK codes and rest leave it to the converter\n")
c=int(input("C Value: "))
m=int(input("M Value: "))
y=int(input("Y Value: "))
k=int(input("K Value: "))
print("Processing...")
print("\nYour RGB values are", CMYKtoRGB(c,m,y,k))
print("\nYour RGB values are", CMYKtoRGB(c,m,y,k))