jonhhy Posted June 3, 2022 at 02:40 PM Report Share #626110 Posted June 3, 2022 at 02:40 PM Boa tarde Malta, espero que estejam bem. Conseguem-me dizer onde faço a indentação mal? def greater(s1,s2,s3): if s1 > s2: if s1 > s3: return s1 else: return s3 elif s2 > s3: return s2 else: return s3 Imagem do erro no Notebook cumps. jonhhy Link to comment Share on other sites More sharing options...
eSkiSo Posted June 3, 2022 at 06:13 PM Report Share #626113 Posted June 3, 2022 at 06:13 PM O erro deve estar antes, copiado directamente do teu codigo funciona correctamente: https://www.imagebam.com/view/MEB4NX7 Os meus programas em http://www.eskiso.net Link to comment Share on other sites More sharing options...
jonhhy Posted June 13, 2022 at 08:23 AM Author Report Share #626201 Posted June 13, 2022 at 08:23 AM Certo eSkiSo, tens razão. Muito obrigado 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now