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

A first-degree equation in three variables graphs as a. a line c. a sphere b. a plane d. a paraboloid
Helppp for Brainlyiest ong provide proof or nun
What is the name of the Federal most often used monetary policy tool?
Cuales son las relaciones que existen entre una cultura global y las identidades locales o regionales?
2 2. This system of equations has : y = -2x y = -2x + 1 A. One Solution B. Infinitely Many Solutions C. No Solutions
QUICK PLEASE!! -5.6 = h/5 + 12.2 show steps!
the process by which living things change and diversify over time​
Question 1 (1 point) It is not necessary to balance an equation to find the correct mole ratios. True False
The cation that has the same number of electrons (isoelectronic) as Ne is None of the listed options O Na Mg 2- All of the listed options O AI 3-
3. Seleccione la gráfica correspondiente a la función de la forma Y=mX , encerrando en una circunferencia el literal correcto: 1) 2) 3) 4)