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

The following is a suitable topic for an expository article. Historical evidence has proven that ancient peoples had some very effective systems of medical tre
Another term for struggle is _____. ? is it conflict ? exposition ? plot ? or its theme ?
Los animadores nos _____ que somos el mejor equipo
what are the monomers for each of the 4 macromolecules?
Solve each Inequality -44<-2+3r
Photosynthesis occurs primarily within eukaryotic cell organelle?
Formatting is the process of changing the way letters, numbers, punctuation marks, and symbols appear on the screen and in print
Please help me answer this. 1/4 / y = 1/5 / 12
in The Call of the Wild which dog becomes too weak and has to be killed
If the number in the numerator of a unit rate is 1 what does this indicate about the equivalent unit rates