SlayzzUK SlayzzUK
  • 10-02-2021
  • Computers and Technology
contestada

Can somebody do an Algorithm 2 for more?
(Python)

Can somebody do an Algorithm 2 for more Python class=

Respuesta :

quyenthao111
quyenthao111 quyenthao111
  • 22-02-2021

# If the number is positive, we print an appropriate message, else we print the opposite

num = 3

if num > 0:

print(num, "is a positive number.")

num = -1

elif num < 0:

print(num, "is a negative number.")

num = 0

else

print(num, "is neither positive nor negative.")

Answer Link

Otras preguntas

Is gender the same as sex...?
Help, with this multiple choice question? Phillip is looking at two different jobs. One has a higher hourly pay rate, while the other offers benefits. The first
how does America react after the Pearl Harbor bombing
Unlike a prokaryotic bacteria cell, a virus, like the one in the image, A) has a lipid cell wall. B) has no genetic material. C) cannot reproduce on
What’s three points that satisfy the system of inequality’s of 4x+6y<24
A single circular loop with a radius of 35 cm is placed in a uniform external magnetic field with a strength of 0.50 T so that the plane of the coil is perpendi
When asking a question in Chinese, the most effective way is to use a second or rising tone at the end of the question. -True -False - er
Which is the MOST recent of selectively bred carrot colors? A. red B. white C. yellow D. orange
The removal of silver tarnish from silverware using aluminum foil and a solution of electrolyte is an example of 1. oxidation of aluminum metal. 2. an example o
who do the waves help you generate a eartquake system in the future?