17 righe
		
	
	
		
			243 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 righe
		
	
	
		
			243 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env python3
 | |
| 
 | |
| import random
 | |
| from io import StringIO
 | |
| 
 | |
| base = 0x1f345
 | |
| nSides = 14
 | |
| rounds = 14
 | |
| fp = StringIO()
 | |
| 
 | |
| for i in range(rounds):
 | |
|   roll = random.randint(0, nSides)
 | |
|   chcr = base + roll
 | |
|   fp.write(chr(chcr))
 | |
| 
 | |
| print(fp.getvalue())
 |