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

Can someone solve this and show it step by step −5x + 2[x − (4 + 2x)] ≥ 5 − 2(x − 1)
how many matches are needed to form figure number 9 and 17? explain​
what is the answer expand and simplify 3x-2^2
what is the slope of the line segment-3-1/31/33​
Consider the following equation. -2x + 6 =[-2/3] + 5
I have a suggestion for brainly, You guys need more subjects. Music geology astronomy designing Whoever thinks of something good I will give he/she brainly.
according to South African press code how news supposed to be reported​
The average potential energy of water molecules is greatest in
Whats the domain of this function?
Explain why the larger the hydrocarbon molecule is the more viscous the liquid. Use ideas about forces between molecules-