val = 1000
match val:
0..100: print 'at or between 0 and 99'
100: print 'val is 100'
200:
print 'val is 200'
300, 400:
print 'combined case'
else:
print 'val is {val}'
The error I get is:
ParseError: Expected comma or colon.
main:3:6:
0..100: print 'at or between 0 and 99'
^
The matching example from Docs throws an error in the online playground.
The error I get is: