+ 1

If I want fill the hexadecimal value in the program then how I can put it?

26th Dec 2018, 5:04 AM
Akshay Randive
Akshay Randive - avatar
4 Respuestas
+ 8
I see you're taking the Python course here, so here's an example: bin = 0b100000000 # Binary, prefix zero+letter b oct = 0o400 # Octal, prefix zero+letter o hex = 0x100 # Hexadecimal, prefix zero+letter x print(f"Binary: {bin}\nOctal: {oct}\nHexadecimal: {hex}") Hth, cmiiw
26th Dec 2018, 7:34 AM
Ipang
+ 6
akshay randive this way var x = color('#000000') --> Black Please put the necessary tags to make the question complete.
26th Dec 2018, 5:42 AM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 5
Which language are you using? Basically it's; Var = input Hex = (string "#"), input
26th Dec 2018, 5:43 AM
CodeBoi Tutorials
CodeBoi Tutorials - avatar
+ 2
Thanks
26th Dec 2018, 11:16 AM
Akshay Randive
Akshay Randive - avatar