penelopemaxwell penelopemaxwell
  • 03-02-2022
  • Computers and Technology
contestada

How to do codehs 7.4.4 Square with Return Values?

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 11-02-2022

The codehs 7.4.4 program is meant to return the square of a number

How to write the actual program

The program in Python, where comments are used to explain each line is as follows:

#This gets input for the number

userNum = int(input("Number: "))

#This prints the square of the number

print(userNum**2)

Read more about Python programs at:

https://brainly.com/question/16397886

Answer Link

Otras preguntas

If an automobile travels 225 mi with a gas mileage of 21.5 mi/gal , how many kilograms of co2 are produced? assume that the gasoline is composed of octane, c8h
Which si unit would you use to measure the amount of juice in a glass?
Why is blood important
it took a car 3dyas to travel 2910 miles. what’s the cars average speed in miles per hour.round to the nearest mile per hour ?
what is a maximum negative displacement of a wave
Help please! Thank you!
Which statements describe the principles of the big bang theory? Check all that apply. The universe is continuing to expand. A massive explosion caused matter
How did Nixon plan on returning power to the states?
You are alone and have identified an adult who is not responsive.you have called 911 and begun chest compressions.what is the next step in CPR
Are these the correct answers? I hunk I got some wrong pls help