Create collection inside the one which related to selected object

We select some objects, check to which collection active object are belong, and create a new collection inside and put all selected object in those collection.

My code:

import bpy

#get collection to which object are belong
obj = bpy.context.object
current_coll = obj.users_collection

#chech in console if we get the right name
print (current_coll)

#create a new collection and try to move it inside (current_coll)
my_coll =“MyCollection”)

Unfortunately, it throw an error - Function.child expected a Collection type, not tuple.
How i can solve that?

Objects can belong to more than one collection, so users_collection is returning a tuple of collections rather than a single collection.

I personally think the attribute name can be confusing. From my understanding it means “users of type collection”