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

Suppose, while out camping in a forest, you found a chordate with a long, slender, limbless body slithering across the ground near your tent. this critter could
What subatomic particle has negligible mass and travels around outside the nucleus?
NEED HELP IN MATH . THANKS
Steven determined the number of each state of his friends has visited
how many gallons are equal to 32 quarts?
Identifying the Parts of the Nervous System
How would you categorize the following statement? Seals and sea lions have some notable differences including their coloring, their ability to walk on land and
For the data set below, calculate the variance to the nearest hundredth decimal place. (do not use a coma in your answer) 24   45   52   78   90   120   34
A company policy requires that, for every 50 employees, there must be 3 supervisors. If there are 255 supervisors at the company, how many employees does the co
Witch statement describes the role of the grass in the food web