menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Assume that file containing a series of floats is named floats.txt and exists on the computer's disk. Write a complete program that displays all of the numbers in the file. In python please.
asked
Sep 26, 2023
151k
views
18
votes
Assume that file containing a series of floats is named floats.txt and exists on the computer's disk. Write a complete program that displays all of the numbers in the file. In python please.
Computers and Technology
college
Vasiliy Kevroletin
asked
by
Vasiliy Kevroletin
6.1k
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
7
votes
Answer:
open("floats.txt",'r') as file:
print(file.read())
Iskar Jarak
answered
Oct 1, 2023
by
Iskar Jarak
5.8k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
6.5m
questions
8.6m
answers
Other Questions
10 points Wireframing and storyboarding are helpful in which step of web development? Advertising Planning Printing Publishing
What is Blender's default save directory for movie AVI files?
If a website ends with .gov does it mean that its written by the government or?
To group option buttons so that selecting one deselects all of the others, you must make the ____ attribute the same.
How do I turn on your asus chromebook flip?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org