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

the treaty of Versailles forced Germany to?
216 = (1/36 )^ x−1 how would you solve this?
What is the antimatter equivalent of the electron? a. neutrino b. positron c. lepton d. fermion
What accounts for why the Soviet Union decided to formalize its East European alliance through the Warsaw Pact?
What statement Correctly describes the connection between the government and the church in the Byzantine Empire? A) The emperor controlled the government, but
There are three people in John's family. The range of their shoe sizes is 4. Two people in the family wear shoe size 6. John's shoe size is not 6 and it is not
Use standard grammar and language to reach the majority of your audience. true false
In “Dover Beach” by Matthew Arnold, the speaker, in a world filled with misery, finds solace with_______? his poetry his family his death his love
Ustedes___ (estudiar) en la biblioteca
2.)The Spanish borderlands were located a. in present-day Spain. b. from present-day Florida to present-day California. c. in present-day South America. d