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

An unbalanced force of 500 N is applied to a 75 kg object. What is the acceleration of the object?
how to do multiplication of fractions -6 and 3 on a number line
Why do people of both Jewish and Christian faith trace the start of their religions to Isaac
What’s the answer please?
Which graph represents the function f(x)=|x+2|+1
sodium has an atomic number of 11 and has a net charge of 0. When sodium combines with chlorine, it has a net charge of +1. Why? A) sodium loses a negativ
Which process provides immunity against antigens and pathogens in the body fluids? A. nonspecific response B. inflammatory response C. humoral immunity D. c
An insurance agent receives 16% commission on every premium paid. How much commission is paid on a policy with a premium of $497.69?
Am oral report would fall into which categories of communication? A) nonverbal, formal B) nonverbal, informal C) verbal, formal D) verbal, informal
How does desert vegetation adapt to a hot environment