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
viktelen [127]
3 years ago
13

Initialize the list short_names with strings 'Gus', 'Bob', and 'Zoe'. Sample output for the givenprogram:Gus Bob Zoeshort_names

= ''' Your solution goes here '''print(short_names[0])print(short_names[1])print(short_names[2])12345
Computers and Technology
1 answer:
Gnesinka [82]3 years ago
6 0

Answer:

short_names = ['Gus', 'Bob','Zoe']

Explanation:

A list is a type of data structure in python that allows us to store variables  of different types. Each item in a list has an index value which must be a integer value, and the items can be assessed by stating the index position. The syntax for creating and initializing a list is:

list_name = [item1, item2,item3]

  1. The name of the list (must follow variable naming rules)
  2. a pair of square brackets
  3. items in the list separated by commas.

The python code below shows the implementation of the solution of the problem in the question:

<em>short_names = ['Gus', 'Bob','Zoe']</em>

<em>print(short_names[0])</em>

<em>print(short_names[1])</em>

<em>print(short_names[2])</em>

The output is:

<em>Gus</em>

<em>Bob</em>

<em>Zoe</em>

You might be interested in
List 5 different programming languages calls to print
Irina18 [472]
Print
echo
<p></p>
put
These call prints
5 0
4 years ago
Read 2 more answers
If there are 10 routers between the source and destination hosts, how many transport processes will be involved on all devices?
Gnesinka [82]

Answer:

c. 2

Explanation:

As the routers are only involved with the process of finding the best route to reach an IP address (the destination hosts), they don't look at the IP Datagram payload (which includes the transport protocol header), only to IP header.

So, the only transport processes that "talk"each other, are the one on the source host (defining TCP or UDP source port/s, and the other  on the destination host (defining TCP or UDP destination port/s), so two applications (or more) in both machines can exchange data.

5 0
3 years ago
Cultural competence​ involves
IrinaK [193]

Answer:

Cultural competence involves more than having sensitivity or awareness of cultures. It necessitates an active process of learning and developing skills to engage effectively in cross-cultural situations and re-evaluating these skills over time.

Explanation:

3 0
3 years ago
Read the following scenario, and then answer the question.
maxonik [38]

Answer:

Monitor size

Explanation:

Hope this helps

4 0
3 years ago
Read 2 more answers
The Save command saves your changes silently without additional prompts, using the same save settings; the Save As command reope
kirza4 [7]

The "Save command" saves your changes <u>silently</u> without additional prompts and it uses the same save settings while the "Save As command" <u>reopens</u> the Save screen: True.

What is the Save command?

A Save command can be defined as a type of command associated with the file menu of a software application and it causes a copy of the current file to be created and stored to a specific location on a computer system.

<h3>What is the Save as command?</h3>

A Save command can be defined as a type of command associated with the file menu of a software application and it causes a copy of the current file to be created and stored to a different location, file name, and/or file type.

In conclusion, the "Save command" saves your changes <u>silently</u> without additional prompts and it uses the same save settings while the "Save As command" <u>reopens</u> the Save screen, so as to enable you make different choices.

Read more on Save command here: brainly.com/question/16852455

5 0
3 years ago
Other questions:
  • Write a switch statement that tests the value of the char variable response and performs the following actions: if response is y
    9·1 answer
  • One of the most toxic components of a computer is the
    11·1 answer
  • Which option allows you to add different effects for each of the bulleted items on your slide
    13·1 answer
  • What statement best describes the Microsoft Windows operating system?
    13·2 answers
  • Double[][] vals = {{1.1, 1.3, 1.5},
    14·1 answer
  • Which of the following is false? Group of answer choices A) A string may include letters, digits, and various special characters
    7·1 answer
  • Whers the main characteristic of a Peer-to-peer (P2P) network?
    14·1 answer
  • Which of these is an example of collective voice?
    8·2 answers
  • True or False: Variablename must start with a number.
    13·1 answer
  • ***URGENT***
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!