Write a python program that will take N as input from the user and thentake N number of inputs from the user and store the input in a dictionarywhere the key will be the data type of that input and the value will be alist of that corresponding data type. If any data type is missing in theinput then do not add that corresponding data type as key of thedictionary. Finally print that dictionary Assume all the inputs will beString, Integer and Float.
Sample Input 1:511.23hellohi
Sample Output 1:{'Integer': [1, 3], 'Float': [1.2], 'String': ['hello', 'hi']}
Sample Input 2:3narutotanjiro7
Sample Output 2:{'String': ['naruto', 'tanjiro'], 'Integer': [7]}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here