Is there a way to generate a list with a specific start and stop, and just automatically adjust the steps with integers?
E.g. using range(0,25,6) I get [0, 6, 12, 18, 24], but I need to start with 0 and end with 25 strictly, approximating intermediate values like [0, 6, 12, 19, 25] or [0, 6, 13, 19, 25].
Obviously the range that I need is much wider, so doing it manually is not an option, and it doesn't matter to get intermediate numbers with approximate steps as in the two examples.