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

what is a bodegon what is its significance
50% of cakes were party cakes 1/5 were fruit cakes and the remainder were sponge cakes. What percentage of cakes were sponge
find the product. tell which strategy you used. 4X6x50
What is 689 divided by 24
After making the shocking statement about crime statistics maurice stood quietly for several seconds while the information sunk in
Taking a large amount of this vitamin can be toxic because it accumulates in the liver
how many forms of the supreme god are there in the hindu triumvirate
A story using french language
Martin is making squares by arranging 26 sticks . How many squares can he make? Write and solve the number fact you used to find the answer.
Marty has a fenced yard in the shape of a rectangle. it's area is 635.4 square feet. The width of the yard is 18 feet. Whatis the length of the fence?