1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ugo [173]
3 years ago
9

Answer for 3.4.8 rectangle code HS

Computers and Technology
1 answer:
tigry1 [53]3 years ago
7 0

Answer:

i think Make variables to represent the length and width of a rectangle, called length

and width

, respectively. You should set length

to 10 and width

to 5.

Then, write some mathematical expressions to computer the area and perimeter of the rectangle and save these values inside variables named area and perimeter

.Use print

statements to display the area and perimeter of the rectangle.

Your output should print the area on the first line and the perimeter on the second, like this:

50 30  Rectangle Area Formula:

Area = L * W

Explanation:

You might be interested in
What are invoices? A. Documents that convey a company's liabilities B. Documents that convey how much a company was earning and
grandymaker [24]
<span>C. Documents that convey buyers, sellers, and purchases made</span>
5 0
4 years ago
Read 2 more answers
Your motherboard has sockets for 184-pin dimm ram. which type of ram should you install?
noname [10]

Answer:

DDR

Explanation:

DDR is the only type of RAM that runs on 184 pins, its successor DDR2 was upgraded to run on 240 pins.

Hope this helps!

4 0
3 years ago
How much does james goodnight make per hour
julsineya [31]

Answer:

4$

Explanation:

7 0
3 years ago
What is the difference between it and​ is?
yulyashka [42]
C trust me done this
3 0
3 years ago
Using the "split" string method from the preceding lesson, complete the get_word function to return the {n}th word from a passed
lana66690 [7]

Answer:

def get_word(sentence, n):

# Only proceed if n is positive

   if n > 0:

       words = sentence.split()

# Only proceed if n is not more than the number of words

       if n <= len(words):

           return words[n-1]

   return (" ")

print(get_word("This is a lesson about lists", 4)) # Should print: lesson

print(get_word("This is a lesson about lists", -4)) # Nothing

print(get_word("Now we are cooking!", 1)) # Should print: Now

print(get_word("Now we are cooking!", 5)) # Nothing

Explanation:

Added parts are highlighted.

If n is greater than 0, split the given sentence using split method and set it to the words.

If n is not more than the number of words, return the (n-1)th index of the words. Since the index starts at 0, (n-1)th index corresponds to the nth word

8 0
3 years ago
Other questions:
  • The ____ shortcut keys remove character formatting. (points : 2) ctrl 0 (zero) ctrl i ctrl spacebar ctrl u
    8·2 answers
  • What will be returned when the following SQL statement is executed?
    5·2 answers
  • In the context of web and network privacy, an acceptable use policy is _____.
    15·1 answer
  • Multidimensional arrays can be stored in row major order, as in C , or in column major order, as in Fortran. Develop the access
    11·1 answer
  • What activities are coordinated by the OS?
    11·1 answer
  • The Internet is not a good place to connect with people when looking for a job.
    10·1 answer
  • Identify methods to improve programming skills.
    15·1 answer
  • What is a graph,a chart then give similarities between graph and chart.​
    6·2 answers
  • HELP PLSS‼️ Which are the following are considered peripherals? Mark all that are correct
    11·1 answer
  • What is the output of the following code?int *p; int *q; p = new int; *p = 43; q = p;*q = 52; p = new int; *p = 78; q = new int;
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!