(p)
return randint(1, p-1)
Bob determine his private key
    in the range of 1 ~ p-1.
    This must be kept in secret
Bob determine his private key
    in the range of 1 ~ p-1.
    This must be kept in secret
Bob determine his private key in the range of 1 ~ p - 1 . This must be kept in secret
def bob_private_key(p):
    """Bob determine his private key
    in the range of 1 ~ p-1.
    This must be kept in secret"""
    return randint(1, p-1)
def bob_private_key ( p ) : return randint ( 1 , p - 1 )