fa
SETSWANA TRANSLATION: Runs a block of code only when a condition is true.
SETSWANA TRANSLATION: Use fa to make decisions in your code. The block inside the curly braces only runs if the condition in parentheses evaluates to nnete (true). Pair with ha for an alternate branch.
SETSWANA TRANSLATION: Syntax
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Syntax”SETSWANA TRANSLATION: fa (seemo) { ... }SETSWANA TRANSLATION: Examples
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Examples”diri palo = 5;
fa (palo > 0) {
kwala("e kgolo go feta lefela");
}