Chris Webb shows how to create specific numerical and character sequences in Power BI:
It’s also possible to use this technique to create lists of characters. For example, the expression:
{“a”..”z”}
Returns a list containing all of the lowercase letters of the alphabet
There are a few interesting ways of generating sequences in M, some of them (as the first commenter notes) akin to Python’s sequence methods.