from random import *

result = ''

def output (any):
	result += any + '<br>\n'

for fixedSeed in (False, True):
	if fixedSeed:
		seed (3)
	else:
		seed ()

	output ('------ {} ------'.format ('fixed seed' if fixedSeed else 'auto seed'))
		
	output ('--- randint ---')
	for i in range (20):
		output (randint (10, 20))

	output ('<br>\n--- choice ---')
	for i in range (20):
		output (choice ([1, 2, 3, 4, 5]))

	output ('<br>\n--- random ---')
	for i in range (20):
		output (random ())
		
	output ('<br>\n')
	
document.getElementById ('output') .innerHTML = result
