Question: in python Exercise 2: #server.py Write a server python program that takes a number from a client program and checks if the number is prime
Exercise 2: #server.py Write a server python program that takes a number from a client program and checks if the number is prime or not. If the number is prime, then the server sends back to the client that the number is a prime number. If the number is not prime, then the server sends back to the client that the number is not a prime number. #client.py Write a client python program that asks the user to enter a number and sends this number to the server (above) and prints the result returned by the server. #new-server.py Write the same server above but make sure that this new version of the server handles each client in a separate thread (multi-threaded server)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
