Simple RGB to HEX game made in python
import random
r = random.randint(0,255);
g = random.randint(0,255);
b = random.randint(0,255);
def rgb_to_hex(r, g, b):
return ('{:X}{:X}{:X}').format(r, g, b);
solution = "#" + rgb_to_hex(r, g, b);
print("replace RGB to HEX game, use uppercase, author: github.com/maciekkoks");
print("RGB:", r, g, b);
input1 = input("Enter a