Examples · learn/09-closures · 154 of 339
task-1.solution
tin run examples/learn/09-closures/task-1.solution.tinfn main() {
let temps = [12.0, 19.5, 23.0, 31.5, 8.0]
let fahrenheit = temps.map((c) => c * 9 / 5 + 32)
print(fahrenheit)
} Examples · learn/09-closures · 154 of 339
tin run examples/learn/09-closures/task-1.solution.tinfn main() {
let temps = [12.0, 19.5, 23.0, 31.5, 8.0]
let fahrenheit = temps.map((c) => c * 9 / 5 + 32)
print(fahrenheit)
}