Common errors
Most beginner errors come from four causes: inconsistent indentation, a missing :, mixing Python/Baobab keywords, or using a value before it exists.
❌ Missing colon
12si age >= 18
afficher("Adulte")Every si, pour, fonction… must end with :. Here it's missing after 18.
❌ Python keyword in a .bao file
1print("Adulte")In a .bao file, use the Baobab vocabulary: afficher, not print. Baobab refuses to run a Python keyword and tells you the expected equivalent.