I want to pass named arguments to the target function, while creating a Thread object.
Following is the code that I have written:
import threading
Try to replace args with kwargs={x: 1, y: 2}.
args
kwargs={x: 1, y: 2}