This code passes in Stock Market excercise despite instructions state you should announce value only after 20 years passed (thus yearly announcements should be not allowed).
// Track your money on the stock market
let year = 2026
let balance = 10
repeat (20) {
balance = balance * (1 + marketGrowth(year) / 100)
reportTax(year, balance)
year = year + 1
announceToFamily(balance)
}