Answers for "consider the following python program. fin = open('words.txt') for line in fin: word = line.strip() print(word) what is word?"

0

consider the following python program. fin = open('words.txt') for line in fin: word = line.strip() print(word) what is word?

fin = open('words.txt')
for line in fin:
	word = line.strip()
	print(word)
Answer:
word is a string with no newline.
#(It says word =, not word.append())
Source:
https://brainly.com/question/17213297
Posted by: Guest on May-02-2022

Python Answers by Framework

Browse Popular Code Answers by Language