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

Who was the commander of the Confederate Army and forces? Nathan Forrest George Custer Ulysses S. Grant Robert E. Lee
If A = {1,2,3,4} B=N. Let f: A ➝ B be defined by f(x) = x² + 1then find the range of f.Note: [Brainly sir / maam please solve my all Questions that I have poste
Please help with this question, will reward brainliest and a heart including a 5-star-rating on your answer
Please help me!! 1. What aspects of culture would be hard to maintain under the forced labor practices of the European colonies? 2. Is it important to distingui
Can someone please tell me what part of the fraction is shaded ?
PLEASE HELP WILL GIVE BRAINLIEST AND 5.0 RATING
Complete the paragraph based on what you have learned about different video-storage carriers. What kind of charge are they talking about??? Malcolm is a science
Please help on these questions!
Please answer and give workings out please :)
A chief aim of the Constitution as drafted by the Convention was to create a government with enough power to act on a national level, but without so much power