Replace x values in list with domain

Still somewhat new to GH/Rhino and am having some issues with replacing the last x numbers in a list with a domain of values. To better explain let’s say the list is from 0-100 and I want to replace the last x numbers with a domain from 1-10. Any help would be greatly appreciated.