def printName(nome, sobrenome, inverte=False): if inverte: print(nome, sobrenome) else: print(sobrenome, nome)