I'm trying to create a program in python that will get 2 inputs from 2 different locations e.g. 2 command prompts
import threading
def function1():
someinput=input("input1")
print(someinput)
def function2():
anotherinput=input("input2")
print(anotherinput)
thread1 = threading.Thread(target=function1())
thread1.start()
thread2 = threading.Thread(target=function2())
thread2.start()
i want it to ask me for input 1 in one command prompt and input 2 in another and then input 1 should be printed to the first command prompt and input 2 to the second.