I am new to Python and am having trouble with this piece of code:
while true: rand = random.choice(number) print(rand) enter_word = inp
you have to run two concurrent threads at the same time in order to get rid of such blocking. looks like there are two interpreters that run your code and each of them executes particular section of your project.