unknown152714 unknown152714
  • 03-11-2020
  • Computers and Technology
contestada

Input a number and find the square root only if the number entered is greater than or equal to zero.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

number = float(input("Enter a number: "))

if number >= 0:

   print(number**0.5)

I hope this helps!

Answer Link

Otras preguntas

Élise is asking Pierre about what he likes, but parts of his answers are missing! Re-record each answer so that it makes sense. (just fill in the blanks for me
17 per cent means_____ parts per_____
list ten application of polymer nano composite​
In five sentences,one for each state the reasons why most academics do not venture into business​
one subtacted from the product of 4 and a number is 11​
a rectangle is 40 cm long and 25 cm calculate the perimeter​
(3n+2) (n-4 )when n =5 2n​
PLEASE PLEASE PLEASE Sketch the graph for each equation. y=-0.8x Could I also get the equations not just the graph :)
the following Dot Plot shows the scores of 25 people who played in online trivia game which of the following statements is best description of the distribution
DRIVERS ED(TRUE OR FALSE) When passing another vehicle you must be able to complete the pass by returning to the right side before coming within a distance of a