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
WARRIOR [948]
3 years ago
7

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 compute 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
Computers and Technology
1 answer:
katen-ka-za [31]3 years ago
8 0
Hope this helps. Please rate it if it does. Thanks will appreciate it.

You might be interested in
List three ways you can help somone who is being cyber bullied instead of just being a bustander​
JulsSmile [24]
Tell an adult
give them moral support
help them stand up for themselves
4 0
2 years ago
Read 2 more answers
A security technician has been receiving alerts from several servers that indicate load balancers have had a significant increas
djyliett [7]

Answer:The capacity of the servers

Explanation:because is full

6 0
2 years ago
Provide examples of how you can use a computerized
Alexus [3.1K]
File management systems are vital! For example, when you are developing a website, having a good file management system is critical for successful development.

Each file needs a corresponding folder where it can belong. When you are working on developing a website, you will be extracting files in your code from a certain directory. It's because of a good file management system that this is possible! =)
3 0
3 years ago
Open IDLE. Create a new script file (File-->New File, Ctrl n on Windows, Cmd n on macOS). On the first line, place your name
Lorico [155]

Answer:

program:

#your name

print("{:10} {:10} {:10}".format("Number","Square","Cube"))

print("{:<10} {:<10} {:<10}".format(0,0,0))

print("{:<10} {:<10} {:<10}".format(1,1,1))

print("{:<10} {:<10} {:<10}".format(2,2**2,2**3))

print("{:<10} {:<10} {:<10}".format(3,3**2,3**3))

print("{:<10} {:<10} {:<10}".format(4,4**2,4**3))

print("{:<10} {:<10} {:<10}".format(5,5**2,5**3))

print("{:<10} {:<10} {:<10}".format(6,6**2,6**3))

print("{:<10} {:<10} {:<10}".format(7,7**2,7**3))

print("{:<10} {:<10} {:<10}".format(8,8**2,8**3))

print("{:<10} {:<10} {:<10}".format(9,9**2,9**3))

print("{:<10} {:<10} {:<10}".format(10,10**2,10**3))

output:

Number Square Cube

0 0 0

1 1 1

2 4 8

3 9 27

4 16 64

5 25 125

6 36 216

7 49 343

8 64 512

9 81 729

10 100 1000

6 0
2 years ago
Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99) and the player's rating (1 - 9). Store the jer
Reika [66]

Answer:

  1. jersey_dict = {}
  2. for i in range(5):
  3.    j_num = int(input("Input Jersey's number (0-99): "))
  4.    rating = int(input("Input rating (1 - 9): "))  
  5.    jersey_dict[j_num] = rating  
  6. sorted_key = []
  7. for i in jersey_dict.keys():
  8.    sorted_key.append(i)
  9. sorted_key.sort()
  10. for i in sorted_key:
  11.    print(str(i) + ":" + str(jersey_dict[i]))

Explanation:

Firstly, define an empty dictionary (Line 1).

Next, use a for loop to prompt user to input five Jersey's number and rating and keep the input to the dictionary (Line 3-6). Next, create a list to hold the dictionary keys (Line 8-10). Use build in method, sort to arrange the keys in the list in ascending order (Line 12 ). At last, print the dictionary element by looping over the value in the sorted_key list (Line 14-15).

5 0
2 years ago
Other questions:
  • Do transformers have life insurance or car insurance? If you chose life insurance, are they even alive?
    7·1 answer
  • While investigating the settings on your SOHO router, you find two IP addresses reported on the device’s routing table, which is
    15·1 answer
  • A personal phone directory contains room for first names and phone numbers for 30 people. Assign names and phone numbers for the
    15·1 answer
  • Help with some questions. Thank you!
    14·1 answer
  • There is no reason to study the works of famous photographers because they will make you less creative.
    5·2 answers
  • Which model allows you to make subsystems in parallel?
    12·1 answer
  • . ____________is/are the JSP ImplicitObject(s).sessionapplicationconfigAll of GivenNone of Given
    9·1 answer
  • Characteristics of a cohesive group include all of the following EXCEPT: a. ​support b. a lack of bonding c. mutuality within th
    15·1 answer
  • What are the steps for inserting an internal link?
    15·2 answers
  • Imagine that you are a professional white hat hacker, testing a company’s system to make sure they are ready for attacks. What m
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!