using text input html for numbers only code example
Example 1: how to write css for input type text
/* For Example, If we want to change css of "text" type
from <input> we do this:*/
input[type=text] {
/* Your Code Here */
}
Example 2: html input box integer only
<input type="number" name="someid" />
Example 3: how to input a full array in one input in python
n = int(input())
arr = input() # takes the whole line of n numbers
l = list(map(int,arr.split(' '))) # split those numbers with space( becomes ['2','3','6','6','5']) and then map every element into int (becomes [2,3,6,6,5])