from concurrent.futures import ThreadPoolExecutor, as_completed

def fib(n):
    a, b = 0, 1
    for i in range(0, n):
        a, b = b, a + b
    return ((n, a))

numeros = [10, 20, 25]
 
with ThreadPoolExecutor(max_workers=5) as executor:
	fibSubmit = {executor.submit(fib, n,): n for n in numeros}
	
	for future in as_completed(fibSubmit):
		try:
			n, f = future.result()
		except Exception as exc:
			print("Erro! {0}".format(exc))
		else:
			print ("{0}: {1}".format(n, f))