Computers and Technology

The code below is the same in all four exercises. It is duplicated for your convenience. 1| def saveUserInfo(username, value, password): 2| usernameFile = open("Username. txt", "w") 3| accountValueFile = open("AccountValue. txt", "w") 4| passwordFile = open("Password. txt", "w") 5| usernameFile. write(username) 6| accountValueFile. write(value) 7| passwordFile. write(password) 8| usernameFile. close() 9| accountValueFile. close() 10| passwordFile. close() 11| 12| saveUserInfo("RamblinWreck20", 222, "burd311") Which of the following changes will fix the error documented in part 1? Check all that apply. Assume each change is made individually: check the changes that will fix the error even if none of the other changes are made.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:00, brockmorrison3468
Is it ok to use a does red wine clean the inside of a computer true or false
Answers: 2
image
Computers and Technology, 22.06.2019 16:30, jngonzo1226
Which of the following statements best describes it careers?
Answers: 2
image
Computers and Technology, 23.06.2019 04:31, mona92
Which of the following is not a way in which trees benefit the environment? a. they remove a significant amount of carbon dioxide from the atmosphere. b. they remove a significant amount of oxygen from the atmosphere. c. their roots hold soil in place, reducing rates of erosion. d. they remove ozone and particulates from the atmosphere. select the best answer from the choices provided a b c d
Answers: 1
image
Computers and Technology, 23.06.2019 14:00, savannnab1890
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
Do you know the correct answer?
The code below is the same in all four exercises. It is duplicated for your convenience. 1| def save...

Questions in other subjects: