I want to generate string dynamically according to specific input lick this
if the input = 1 , the string output = 00000
and if it =10 , output = 0000a
input= 16 ,output = 00010
and so on .
the generated string is numbers from 0 to 9 and letters from a to f
and the string length is constant for all generated strings.
and what the code if the output is not a hex , just a string like aaaaa
for 1,
and aaaab
for 2.