Just getting my feet wet... Change-Id: Ia1db0c69fe7d5ea5cb5585853d0688ef97f2680a Reviewed-on: https://cl.tvl.fyi/c/depot/+/4739 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			347 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			347 B
		
	
	
	
		
			Python
		
	
	
	
	
	
bytestring = [
 | 
						|
    112, 105, 99, 111, 67, 84, 70, 123, 103, 48, 48, 100, 95, 107, 49, 116,
 | 
						|
    116, 121, 33, 95, 110, 49, 99, 51, 95, 107, 49, 116, 116, 121, 33, 95, 57,
 | 
						|
    98, 51, 98, 55, 51, 57, 50, 125, 10,
 | 
						|
]
 | 
						|
 | 
						|
def decode(xs):
 | 
						|
    result = []
 | 
						|
    for x in xs:
 | 
						|
        result.append(chr(x))
 | 
						|
    return "".join(result)
 | 
						|
 | 
						|
print(decode(bytestring))
 |