Range input code snippets (1)