+ 6
Why 8.0?
Why 8? The last element in range 1...8 is 7 https://code.sololearn.com/c6O0vBh31PAV/?ref=app
2 Antworten
+ 9
Here last method returning last value not index value..
+ 7
the last value in the string is 8 thus 8 * 1.0 = 8
Why 8? The last element in range 1...8 is 7 https://code.sololearn.com/c6O0vBh31PAV/?ref=app