why is the script not printing its work

import hashlib
import base58
import ecdsa
import random

def generate_key_pair(address_database):
    while True:
        # Generate a private key (44-bit entropy)
        entropy = random.getrandbits(44)
        private_key = hashlib.sha256(str(hashlib.sha256(str(entropy).encode()).hexdigest()).encode()).hexdigest()

        # Generate a public key from the private key
        sk = ecdsa.SigningKey.from_string(bytes.fromhex(private_key), curve=ecdsa.SECP256k1)
        vk = sk.get_verifying_key()

        # Generate the uncompressed public key
        public_key_uncompressed = '04' + vk.to_string().hex()

        # Generate the Bitcoin address from the uncompressed public key
        ripemd160 = hashlib.new('ripemd160')
        ripemd160.update(hashlib.sha256(bytes.fromhex(public_key_uncompressed)).digest())
        hashed_public_key = b"\x00" + ripemd160.digest()
        checksum = hashlib.sha256(hashlib.sha256(hashed_public_key).digest()).digest()[:4]
        bitcoin_address_uncompressed = base58.b58encode(hashed_public_key + checksum).decode()

        # Generate the compressed public key
        public_key_point = vk.pubkey.point
        x = public_key_point.x()
        y = public_key_point.y()
        if y % 2 == 0:
            public_key_compressed = '02' + format(x, '064x')
        else:
            public_key_compressed = '03' + format(x, '064x')

        # Generate the Bitcoin address from the compressed public key
        ripemd160_compressed = hashlib.new('ripemd160')
        ripemd160_compressed.update(hashlib.sha256(bytes.fromhex(public_key_compressed)).digest())
        hashed_public_key_compressed = b"\x00" + ripemd160_compressed.digest()
        checksum_compressed = hashlib.sha256(hashlib.sha256(hashed_public_key_compressed).digest()).digest()[:4]
        bitcoin_address_compressed = base58.b58encode(hashed_public_key_compressed + checksum_compressed).decode()

        # Check if the generated address matches the database
        if bitcoin_address_uncompressed in address_database or bitcoin_address_compressed in address_database:
            return bitcoin_address_uncompressed, bitcoin_address_compressed, private_key, entropy

# Read the address database from address_database.txt
address_database = []
with open('address_database.txt', 'r') as file:
    for line in file:
        address_database.append(line.strip())

# Generate Bitcoin addresses and private keys while checking against the database
while True:
    bitcoin_address_uncompressed, bitcoin_address The word "file" should not appear in your response.
user