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

PLZ ANSWER NOW!!! 60 POINTS!!! Which sentence uses quotation marks correctly? A. One of my favorite humorous poems by Ogden Nash is "The Adventures of Isabel.
Our math team had m students last year, but this year it has already n students! By what percent did the number of students grow? need percentage only 24 points
Erin made 66 devilled eggs for a party. After an hour, there were 8 left. How many eggs were eaten in the first hour?
Jordan is making a beaded necklace two thirds of the beads she uses are red and 4/21 of the beads are blue she wants the rest to be white what fraction of the b
. What did political cartoonist Thomas Nast work to expose?the secret dea behind the election of Rutherford B. Hayesthe illegal activities of New York City's "B
Answers choices <4 <3 <1 <2
which equations are equivalent to z+(z+6)​
which factor does the supreme court generally consider especially important when deciding which cases to review
please try to answer before 1:20 pm!!! thank you
I need help please?!!!