combo_box = QComboBox() combo_box.insertItem(0, "First Item")
combo_box = QComboBox() items = ["Item 1", "Item 2", "Item 3"] for index, item in enumerate(items): combo_box.insertItem(index, item)In this example, we create a new QComboBox instance and a list of items to insert. We then use a for loop and the enumerate() function to iterate over the list of items, inserting each one at the corresponding index (0, 1, and 2). This will add the items to the drop-down list in the order they were defined in the list.