Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pag.108===> erro de syntax #35

Open
GoogleCodeExporter opened this issue Dec 9, 2015 · 1 comment
Open

pag.108===> erro de syntax #35

GoogleCodeExporter opened this issue Dec 9, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

pag.108===> falta dois pontos no final da primeira linha da funçao:            


                                ERRADO

                         def existe(nomedoarquivo)

                           try:
                             f = open(nomedoarquivo)
                             f.close()
                             return 1
                           except:
                             return 0


                                CERTO

                         def existe(nomedoarquivo):

                           try:
                             f = open(nomedoarquivo)
                             f.close()
                             return 1
                           except:
                             return 0



Original issue reported on code.google.com by [email protected] on 5 Mar 2011 at 11:38

@GoogleCodeExporter
Copy link
Author

Erro de sintaxe*

Original comment by [email protected] on 5 Mar 2011 at 11:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant