If the same plant is found in multiple lists you can change data for all occurrences by editing just one. This works by checking if there are matching key names in other…