1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
strojnjashka [21]
3 years ago
11

I'm working on an assignment for my computer science class (Edhesive) and when I run the code, there are no errors. But when I t

ry to check it, it comes up with a Traceback error.
My code:

b = float(input("Enter Temperature: "))

Traceback (most recent call last):
File "./prog.py", line 7, in
EOFError: EOF when reading a line
Computers and Technology
1 answer:
vova2212 [387]3 years ago
6 0

Answer:

The error is because you wrapped the input in float. First record the input and then modify it.

Explanation:

b =  input("enter temp:")

b = float(b)

You might be interested in
Assume that d is a double variable. Write an if statement that assigns d to the int variable i if the value in d is not larger t
mamaluj [8]

Answer:

That's because the value has reached the size limit of the int data type. ... you should use long rather than int , because long can store much larger numbers than int . If ... In other words, a float or double variable can't accurately represent 0.1 . ... If you're using Java to measure the size of your house, you'd need an electron ...

Explanation:

3 0
3 years ago
Hardware and software work (blank) to allow user to form of function?
Nadya [2.5K]
The answer is Jointly.

<span>No hardware and software cannot work without each other. 
</span>
Example:
<span>without a monitor, how can u install a software?</span>
8 0
3 years ago
Read 2 more answers
Which statement is FALSE? If a method does not return a value, the return-value-type in the method declaration can be omitted. P
Tcecarenko [31]

Answer:

If a method does not return a value, the return-value-type in the method declaration can be omitted.

Explanation:

If a method does not return a value, the return-value-type in the method declaration can be omitted is a false statement.

8 0
3 years ago
Which devices is not found in the CPU​
leva [86]
Plz answer my question
5 0
3 years ago
Which of the following statements are true?A.The Fibonacci series begins with 2 and 3, and each subsequent number is the sum of
Ainat [17]

Answer:

B. The Fibonacci series begins with 0 and 1, and each subsequent number is the sum of the preceding two numbers in the series.

Explanation:

4 0
3 years ago
Other questions:
  • Double clicking a word selects the entire word?
    9·2 answers
  • 2.Use loops to create a 4X6 matrix in which the value of each element is two times its row number minus three times its column n
    13·1 answer
  • In your memo, give three new employees directions for starting the computer and opening a word-processing document.
    9·1 answer
  • Imagine you accidently mistype the URL for your bank and you are redirected to a fake website that collects your information. Wh
    10·1 answer
  • why are the ads you might see on tv between 8am and 10am usually not the same ads you would see between 8pm and 10pm?
    12·1 answer
  • Violations of security policies are considered to be a(n) __________ issue upon which proper disciplinary actions must be taken.
    7·1 answer
  • A 4-way set associative cache has 64 blocks of 16 words. How many bits are there in the ""tag"" field of the 15-bit address for
    13·1 answer
  • A host is on the 192.168.146.0 network that has a subnet mask of 255.255.255.0. The binary value of the host portion is 11010101
    8·1 answer
  • AJ created a list, and he needs all of the numbers to be in order. Which Python function will allow him to organize his list num
    5·2 answers
  • Any mobile devices contain a(n) ___ and gyroscope that can sense even the smallest movements.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!