menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
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.…
Ask a Question
Questions
Unanswered
Tags
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.…
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 & Tech
college
Vasiliy Kevroletin
asked
by
Vasiliy Kevroletin
8.7k
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
8.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
Mar 5, 2024
113k
views
Assume a file containing a series of integers is named numbers.txt and exists on the computers disk. Write a program that calculates the average of all the numbers stored on the file. Write this in Python
Andrea Zilio
asked
Mar 5, 2024
by
Andrea Zilio
8.1k
points
Computers & Tech
high-school
1
answer
0
votes
113k
views
asked
Oct 7, 2021
27.7k
views
Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Write a program that reads all of the numbers stored in the file, calculates their total and displays
Will Webb
asked
Oct 7, 2021
by
Will Webb
8.0k
points
Computers & Tech
college
1
answer
5
votes
27.7k
views
asked
Mar 12, 2022
90.8k
views
Assume a file containing a series of names (as strings) is named names.txt and exists of computer's disk. Write a program that displays the number of names that are stored in the file. While open and read
Toote
asked
Mar 12, 2022
by
Toote
7.9k
points
Computers & Tech
college
1
answer
4
votes
90.8k
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
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
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
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org