Question: from socket import * serverName ='SweetPepper' serverPort = 9999 clientSocket = socket(AF_INET, SOCK_STREAM) clientSocket.connect((serverName,serverPort)) sentence = raw_input('Input a message:') choice = raw_input('Please choose command: Enter

from socket import * serverName ='SweetPepper' serverPort = 9999 clientSocket = socket(AF_INET, SOCK_STREAM) clientSocket.connect((serverName,serverPort)) sentence = raw_input('Input a message:') choice = raw_input('Please choose command: Enter 1 to capitalize the first letter of every word' 'Enter 2 to capitalize the entire message' 'Enter 3 t turn the whole message into lower case' '[1-3]: ') clientSocket.send(sentence) clientSocket.send(choice) modifiedSentence = clientSocket.recv(1024) print ('From Server:', modifiedSentence) clientSocket.close() # run TCPserver.py first and then # open shell for TCPclient.py 

This is a program is python. The program name is TCP Client. i just need to change it up. please edit it or put comments in it on whatever you feel like doing in it. but just change it up and make sure it runs and let me know which pyhotn terminal(3.2 or 2.0) did you use.

Please do this ASAP, I need it in couple of hours. Thank you in advance and I promise to give you a thumbs up!!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!