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
faust18 [17]
3 years ago
13

Write a program that reads a floating-point number from the user and prints "zero", "positive" or "negative"

Computers and Technology
1 answer:
Lorico [155]3 years ago
3 0
```
#!/usr/local/bin/python3

foo = float( input( "Enter a number: " ) )
if( foo < 0.0 ):
    print( "negative" )
elif( foo > 0.0 ):
    print( "positive" )
else
    print( "zero" )

exit( 0 )
```

You might be interested in
How are most gamepads installed on devices?
Doss [256]

Answer:

Plug and Play

Explanation:

most modern game pads are you just need to plug into a port and then you are free to use without any setting up.

3 0
2 years ago
In what year was the first phone using the android operating system sold in the united states?
inn [45]
In 2008 was when the first android operating system was sold in the United States.
8 0
3 years ago
How can E-Commerce Portals ensure Security of online Transactions by Customers?
beks73 [17]
Ffkjlfdhaslkjfhlaksdfhlkajsdfh
6 0
3 years ago
A computer needs both hardware and to be useful
riadik2000 [5.3K]

Answer:

Software? or a person?

5 0
3 years ago
Read 2 more answers
I need help on this question , what is web feed ?
Whitepunk [10]

Answer:

C. a data format delivering web content that is updated frequently

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • If you have a list of words that you wish to make into a bulleted list, you must first highlight or ________ the words with your
    14·1 answer
  • Is 37 words per minute when typing an okay grade?
    15·2 answers
  • A. True <br><br> b. False: most modern computers can understand and execute pseudocode.
    7·1 answer
  • What types of input and output devices would be ideal for a college student completing his or her coursework?
    8·1 answer
  • On the Loan worksheet, in cell C9, enter a PMT function to calculate the monthly payment for the Altamonte Springs 2018 faciliti
    6·1 answer
  • What kind of sampling does a quasi experiment use?
    11·1 answer
  • The university computer lab’s director keeps track of lab usage, as measured by the number of students using the lab. This funct
    11·1 answer
  • Andrew works for a company that develops for a company that develops optic-fiber cables for transmission of data. which layer of
    14·1 answer
  • When applying a filter to a text layer, how can you ensure that the types editability is not lost
    12·1 answer
  • Indicates the beginning and ending of your code written in HTML
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!