Erro ao declarar a função:
def cadastrar(nomes): print "Digite o nome: "
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
def cadastrar(nomes): ... print "Digite o nome: " File "", line 2 print "Digite o nome: " ^ IndentationError: expected an indented block