Match the words the navigator speaks to the code the typist should type. Write your answers in the “Code snippet number” column
def foobar(baz):
pass
assert result == 42
for n in numbers:
pass
if len(numbers) == 0:
pass
if n == 0:
raise ValueError("n is zero")
else:
return n
numbers = []
float(n)
func foobar(baz int) {
}
assert.Equal(t, 42, result)
for n := range numbers {
}
if len(numbers) == 0 {
}
if n == 0 {
return 0, errors.New("n is zero")
}
return n, nil
var numbers = []int{}
float64(n)