On 09/05/18 13:14, kevin hulshof wrote:
Hello,
Is there a function that allows you to grab the numbers between two numbers?
Eg. If you input the numbers 1 and 4
To make a list like this [1,2,3,4]
Thank you for you’re time
Seems like 'range' should fit your needs
https://docs.python.org/3/library/stdtypes.html#typesseq
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor