fork download
  1. strA = "abcdef"
  2. strB = "ghijkl"
  3. #hexval = hex(1)[2:].rjust(2,'0')+hex(2)[2:].rjust(2,'0')+hex(3)[2:].rjust(4,'0')+hex(4)[2:].rjust(2,'0') + \
  4. # hex(5)[2:].rjust(2,'0')+hex(6)[2:].rjust(2,'0')+hex(7)[2:].rjust(2,'0')+hex(8)[2:].rjust(2,'0')#+ \
  5. strval= binascii.hexlify(strA).ljust(128,'0')#+binascii.hexlify("b").ljust(128,'0')+binascii.hexlify("c").ljust(16,'0')+ \
  6. #hex(9)[2:].rjust(2,'0')+hex(10)[2:].rjust(4,'0')+hex(22)[2:].rjust(4,'0')+hex(23)[2:].rjust(4,'0')
  7.  
  8. print strval
Runtime error #stdin #stdout #stderr 0s 9024KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 5, in <module>
NameError: name 'binascii' is not defined