- 1

Error in Set Tutorial

One of these statements are incorrect. These statements are CONTRADICTORY. "NO REPETITIONS are allowed" "The size property returns the number of DISTINCT values"

25th Apr 2020, 1:34 PM
John Weiss
John Weiss - avatar
3 Respuestas
+ 2
They are not contradictory
25th Apr 2020, 1:48 PM
Gordon
Gordon - avatar
0
They are not.
25th Apr 2020, 2:52 PM
Antônio Gabriel Zeni Landim
Antônio Gabriel Zeni Landim - avatar
0
not contradictory: the first statement imply the second statement... If "no repetitions are allowed", then the size is necessarly the number of "distinct" values. That's implicit, but in teaching context that's important to not rely on implicit and rather be explicit, even if that provides redundant information ^^
25th Apr 2020, 5:49 PM
visph
visph - avatar