Question: 4 Filling Program (50 points) 4.1 Python and Database (25 points) This program will do the following things 1. Let the user input the user
4 Filling Program (50 points) 4.1 Python and Database (25 points) This program will do the following things 1. Let the user input the user id and password 2. Use the input id and password to connect to a database called ecourses 3. Output the number of students whose grade is greater than 90 (hint: use the SQL command "select from grade where score>90) import MySQLdb id=input ('id ,) password-input ( 'password') try: print (result) except print (" Error") 4.2 Sockets (25 points) This program is for a server to create a connection with the client on port 5000 using a socket. Once the connection is created, this program will output the address of the client then quit. from ADDRESS-('localhost' ,5000) server-socket (AF INET,SOCKSTREAM) server.bind (.. server.listen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
