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
madam [21]
3 years ago
8

I need solutions to below questions with python code:

Computers and Technology
1 answer:
Vitek1552 [10]3 years ago
5 0

Answer:

1) my_family.py

family = ('Dad', 'Mom', 'Agnes', 'David', 'Chris', 'Millie')

for name in range(len(family)):

   print(family[name])

2) work_list.py

my_number = [2, 6, 3, 1, 8, 4]

# add items at the end of the list.

my_number.append(0)

my_number.append(5)

# sorts the list, default - ascending.

my_number.sort()

size = 0

while size < len(my_number):

   print(my_number[size])

   size += 1

Explanation:

The tuple and list data structures are ordered, using indexes to locate items in its container.

The family.py file uses the for-loop to iterate and print the family names in the tuple.

The work-list.py file contains a list of integers which is modified by adding items at the end of the list with the append method and a prints all the items using a while-loop.

You might be interested in
Which of these is one of the primary concerns for protecting your family when online?
stepan [7]
<span>A. Sharing personal information </span>
5 0
3 years ago
Read 2 more answers
30 POINTS! ANSWER ASAP:
Monica [59]

Answer:

roof

Explanation:

6 0
3 years ago
imagine that you are part of a team tasked with purchasing new software to manage youe company's work flow. Once you have consid
Nady [450]

Answer:

my school did this exact question and im tryna find it bruh

Explanation:

8 0
3 years ago
To assign length and breadth to display area of a rectangle​
Ivahew [28]

Answer:

In Python:

Length = float(input("Length: "))

Breadth = float(input("Breadth: "))

Area = Length * Breadth

Print(Area)

Explanation:

Get values for length and breadth

<em>Length = float(input("Length: "))</em>

<em>Breadth = float(input("Breadth: "))</em>

Calculate area

Area = Length * Breadth

Print area

Print(Area)

4 0
3 years ago
Which task can be completed using both the Shape Fill and Shape Outline panes of PowerPoint?
Veseljchak [2.6K]

Answer:

A.) adding color

Explanation:

just did it on edg 2021

4 0
3 years ago
Read 2 more answers
Other questions:
  • In setting up a small office network, the network administrator decides to assign private IP addresses dynamically to workstatio
    12·1 answer
  • What is RAM? explain it
    9·2 answers
  • If x window system is installed, linux users can use x11 forwarding to run __________ as they would on a windows computer. gui a
    11·1 answer
  • ACL 1 has three statements, in the following order, with address and wildcard mask values as follows: 1.0.0.0 0.255.255.255, 1.1
    6·1 answer
  • Describe the functions of ALU, resisters, CU, BIU, Cache and FPU.
    7·1 answer
  • 15
    5·2 answers
  • Does any body know the name of this sensor? ​
    11·1 answer
  • 8.10 quiz edhesive A swap is: a variable used to find the smallest value in an array an algorithm used to find a value in an arr
    12·1 answer
  • The person or user associated in computer field is called​
    10·2 answers
  • state how to transfee information from website to el processing document in computers and technology.​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!