the type() function in python does what when you give it an object. returns the last keystrokes from the user. fill the object with data. returns the data type of the given object. changes the object���s data type.