Is there a way to get the last number from the range() function? I need to get the last number in a Fibonacci sequence for first 20 terms or should I use a list instead of range()?
Is there a way to get the last number from the range() function? I
Share
Not quite sure what you are after here but here goes:
or: