X float input введите. X int input. х = int(input()). линейный алгоритм python. int x = !!5.