<filename>Função def .py
def divisao(n1, n2):
    if n2 == 0:
        return
    return n1 / n2
divide = divisao(8,2)
if divide:
    print(divide)
else:
    print('Conta Invalida')
    
    
def divisao(n1, n2):
    if n2 == 0:
        return
    return n1 / n2
divide = divisao(60,4)
if divide:
    print(divide)
else:
    print('Conta Invalida')
    
<filename>Função def .py
def divisao(n1, n2):
    if n2 == 0:
        return
    return n1 / n2
divide = divisao(8,2)
if divide:
    print(divide)
else:
    print('Conta Invalida')
    
    
def divisao(n1, n2):
    if n2 == 0:
        return
    return n1 / n2
divide = divisao(60,4)
if divide:
    print(divide)
else:
    print('Conta Invalida')
    