Numbers with same digit set in base 10 and base 16: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
→‎Python :: Functional: Added a version expressed in terms of a list comprehension.
Hout (talk | contribs)
Line 1,017:
 
<lang python>for nh in ([
(n, h) for n in range(0, 1 + 100000)
if (
(h := hex(n)[2:])