Sep-27-2021, 09:00 PM
code = "F9E56d" rgb = tuple(int(code[i:i+2], 16) for i in (0, 2, 4))Hi, I don't quite understand the logic of this code.
Can you write me this code in a normal for loop so I can understand that?
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
receive from a generator, send to a generator | Skaperen | 9 | 7,284 |
Feb-05-2018, 06:26 AM Last Post: Skaperen |