Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

T o 25%. ..ooo T-Mobile LTE 8:18 PM client.py Done #Christina Ocampo from socket

ID: 3807633 • Letter: T

Question

T o 25%. ..ooo T-Mobile LTE 8:18 PM client.py Done #Christina Ocampo from socket import* server Name enter IP address server Port 9999 client Socket socket (AF INET, SOCK STREAM) client Socket.connect ((serverName r server Port)) sentence raw input ('Enter sentence: choice raw input choose a command 1 for upper case sentence 2 for lower case sentence 3 for capitalized sentence') client Socket.send (sentence) client Socket. send (choice0 #client. int (choice) modified Sentence clientSocket.recv (#enter number) print. From Server: modified Sentence client Socket.close

Explanation / Answer

How can I create a .src file for these two programs ?

Do you want to merge these two files?

Image at https://media.cheggcdn.com/media%2Ff18%2Ff1852e56-41e9-4e6a-8662-26031dd7d6f5%2Fimage is client.py code save it in client.py file.

Image at https://media.cheggcdn.com/media%2Fd35%2Fd35d21a0-3687-452f-b223-1bd61038c631%2Fimage is server code save it in server.py.

In client.py you need to set an ip address of host where you are running your server.

So two source files are client.py and server.py