subject

Which of the following code segments will display all of the lines in the file object named infile, assuming that it has successfully been opened for reading? a. while line in infile :
print(line)
b. while infile in line :
print(line)
c. for infile in line :
print(line)
d. for line in infile :
print(line)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. a company wants to use online methods to target more customers. it decides to conduct a market research by collecting the data of a few customers with their consent. they want to track data of the sites that their customers frequently visit. which software can the company? a. spyware b. bots c. adware d. trojan horse e. rootkits
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Someone plzz me which of these defines a social search? a. asking a search engine a question that is answered by a real person on the other sideb. modifying search results based on popularity of a web pagec.modifying search results based on a ranking of a web page
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
When writing a business letter, how many times can you use the same merge field in a document? once once, unless using the address block feature unlimited it will depend on the type of document you choose
Answers: 1
You know the right answer?
Which of the following code segments will display all of the lines in the file object named infile,...
Questions
question
Mathematics, 02.07.2019 23:30
question
Mathematics, 02.07.2019 23:30
Questions on the website: 13722367