In Java, one can write something like this:
Scanner scan = new Scanner(System.in);
x = scan.nextInt();
y = scan.nextDouble();
etc.
What is the equivalent of this in Python 3? The input is a list of space separated integers and I do not want to use the strip() method.