Answer:
short_names = ["Gus", "Bob", "Ann"]
print(short_names[0])
print(short_names[1])
print(short_names[2])
Explanation:
There are some typos in your code. In addition to the missing part of the code, I corrected the typos.
First of all, initialize the list called short_names. The list starts with "[" and ends with "]". Between those, there are must be the names (Since each name is a string, they must be written between "" and there must be a semicolon between each name)
Then, you can print each name by writing the name of the list and the index of the names between brackets (Index implies the position of the element and it starts with 0)
Answer:
I am attaching a doc file for the answer.
Explanation:
The attached file has the answer with explanation.
I believe it would be the anchor element.
<a href="#"></a>
Correct me if I'm wrong.
Answer:
35
Explanation:
We will be going inside B array, because he was in second place in array E,and will be the first element of array B, so it's 35
E can be understanded as:
E=[[21, 'dog', 'red'],[35, 'cat', 'blue'],[12, 'fish', 'green']], so, you can see array E as array of arrays or so-called two-dimensional array
Answer:
The web browser sends an HTTP request to the IP address, the IP address then sends the content that are displayed by the browser
Explanation:
The process of converting the typed in URL to a displayed page is as follows;
1) The typed in URL is sent to a DNS recursor by the browser
2) The recursor gets the DNS record for the domain from the cache if the record is cached or when the DNS record for the domain is not cached, the recursor makes a requests to the DNS root from which the name of the TLD nameserver is received
3) The TLD nameserver is contacted by the resolver to obtain the authoritative nameserver's IP address
4) With the information, the resolver contacts the authoritative nameserver and obtains the domain's IP address for the domain the resolver contacts
5) The obtained IP address for the URL's domain is then sent to the browser by the resolver
6) An HTTP request is sent by the browser to the IP address and the data received by the browser from that IP address is rendered and seen as the page content.