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
[br] começa tradução de control-flow-and-loops.md #57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obrigado pela contribuição. Fiz algumas correções.
Se você puder atualizar, agradeço.
| --------------------- | ---------------------------------------------------------------------------------------- | | ||
| Condicional | `if-elseif-else-end` | | ||
| Loop `for` simples | `for i in 1:10`<br>`println(i)`<br>`end` | | ||
| Mais de um loop `for` | `for i in 1:10, j = 1:5`<br>`println(i*j)`<br>`end` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usar laço no lugar de loop.
| Loop `for` simples | `for i in 1:10`<br>`println(i)`<br>`end` | | ||
| Mais de um loop `for` | `for i in 1:10, j = 1:5`<br>`println(i*j)`<br>`end` | | ||
| Enumeração | `for (idx, val) in enumerate(arr)`<br>`println("o $idx-ésimo elemento é $val")`<br>`end` | | ||
| Loop `while` | `while expressão_binária`<br>`# comandos`<br>`end` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expressão_binária -> expressão_booleana
Obrigado |
No description provided.