The function len(race)
would return the number of entries in the race
table. In this case, there are 10 competitors listed (including one disqualified). Therefore, len(race)
would return 10.
So, the correct response is:
10
A table with the results for 10 men in a 100-meter sprint including their place, name, country, and time, including:
1 Kim Collins SKN 10.01
2 Leonard Scott USA 10.10
3 Michael Frater JAM 10.11
4 Jason Gardener UK 10.12
5 Marlon Devonish UK 10.13
6 Darrel Brown TRI 10.14
7 Marc Burns TRI 10.15
8 Ainsley Waugh JAM 10.31
9 Daniel Plummer UK 10.46
DQ Maurice Greene USA DQ
Source: Oxford Designers & Illustrators Ltd. Pearson Education Ltd
Consider the relation race. What is displayed by len(race)?
(1 point)
Responses
9
9
3
3
4
4
10
1 answer
The function len(race)
would return the number of entries in the race
table. In this case, there are 10 competitors listed (including one disqualified). Therefore, len(race)
would return 10.
So, the correct response is:
10