Skip to content
CodeItRaw
Code Reading
/
Largest Spread
Path
Play
Daily
Leaderboard
tr
Break the Code
Largest Spread
Write a list for which this function gives the wrong answer.
1
def
spread
(values):
2
return
values[-
1
] - values[
0
]