Numbers with same digit set in base 10 and base 16: Difference between revisions
Content deleted Content added
→Python :: Functional: Added a version expressed in terms of a list comprehension. |
|||
Line 1,017:
<lang python>for nh in ([
(n, h) for n in range(0, 1 + 100000)
if (
(h := hex(n)[2:])
|