Explain the code for on beyond strings 12/19


#1


#2

especially the last 10. why 10 and not -10?


#3

because the absolute value (abs) gives the distance to zero. The absolute value is always positive, and contains the distance from the number to zero.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.