menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Finish the code to open a file to retrieve its contents. import csv inFile = open('pets.txt','___')
asked
Oct 16, 2023
20.8k
views
0
votes
Finish the code to open a file to retrieve its contents.
import csv
inFile = open('pets.txt','___')
Computers and Technology
high-school
Ray Fischer
asked
by
Ray Fischer
8.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
Answer:
import csv
inFile = open('pets.txt','r')
Jasal
answered
Oct 20, 2023
by
Jasal
7.0k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Sep 2, 2023
90.8k
views
Your file, pets.txt, contains the type of pet, weight, and age on each line. An example line is below: dog, 30, 6 Finish the code to read the file and print the contents. import csv inFile = open('pets.
Epitka
asked
Sep 2, 2023
by
Epitka
8.1k
points
Computers and Technology
high-school
2
answers
25
votes
90.8k
views
asked
Dec 21, 2023
209k
views
Complete the code. import csv inFile = open ("one.txt","r") outFile = open("another.txt", "w") myReader = csv.reader(inFile) for item in myReader: aWord = item[0] aNumber = "___" (item[1]) + 0.4 line =
NID
asked
Dec 21, 2023
by
NID
8.1k
points
Computers and Technology
high-school
2
answers
3
votes
209k
views
asked
Aug 1, 2022
95.6k
views
Complete the code. import csv inFile = open ("one.txt","r") outFile = open("another.txt", "w") myReader = csv.reader(inFile) for item in myReader: aWord = item[0] aNumber = ___ (item[1]) + 0.4 line = aWord
Alexander Duchene
asked
Aug 1, 2022
by
Alexander Duchene
8.7k
points
Computers and Technology
high-school
1
answer
14
votes
95.6k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Explain why binary codes are used to represent characters, numbers and symbols :)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org