vaneloves7155 vaneloves7155
  • 18-11-2020
  • Computers and Technology
contestada

Write an expression that executes the loop while the user enters a number greater than or equal to 0.

Respuesta :

Cytokine
Cytokine Cytokine
  • 18-11-2020

num = 1

while num >= 0:

   num = int(input("Enter a number greater than or equal to 0: "))

I hope this helps!

Answer Link

Otras preguntas

How many edges are there in an octahedron, a polyhedron with eight congruent triangular faces?
Which equation is the inverse of y = 7x2 – 10?
Which best states George Washington’s connection to the 1787 Constitutional Convention?
Why is a block of gold more dense than a block of iron of equal size ?
what multiplys to 40 and adds to -13
In a(n) ________, _______ primary, only declared members of the party can vote on that party's candidate. A) closed/nonpartisan B) open/runoff C) closed/direct
Two lines are parallel. The equation of the first line is y = –3x + 5. Which of the following cannot be the equation of the second line? a. y = –3x + 2 b. x –
Factor the following trinomial, if possible 4x^2 + 4x - 3
Marcie wants to enclose her yard with a fence. Her yard is in the shape of a rectangle attached to a triangle. The formula for the area of the enclosed space is
what finally enabled sturdy skyscrapers to be built during the industrial revolution