string.hexdigits
is a pre-initialized string used as string constant. string.hexdigits
will give the hexadecimal letters "0123456789abcdefABCDEF".string.hexdigits
Doesn't take any parameter, since it's not a function.
Return all hexadecimal digit letters .
# import string library functionimport string# Storing the value in variable resultresult = string.hexdigits# Printing the valueprint(result)
'0123456789abcdefABCDEF'
.**********END OF ARTICLE **********
Comments