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

A worker in a sunglass factory can make 50 frames or 100 lenses per day. There are 90 workers. How many workers should make lenses?
how do I write 0.25 as a fraction in its simplists form
factor the question=x^2-14x+49
What is the relationship between rational numbers and ratios
4.44 4.044 greater or less
What's the algebraic expression of "4 times a number cubed decreased by 7"?
using exactly four 4s and any operations write an expression to equal the number 3
A base 7 three-digit number has its digits reversed when written in base 9. Find the decimal representation of the number.
Can someone help me ?????
is -n always sometime or never a positive number ?explain