Government weapon in cold war
Answer:
The solution code is written in Python 3.
- def convertDate(date_string):
-
- date_list = date_string.split("/")
-
- for i in range(0, len(date_list)):
- date_list[i] = int(date_list[i])
-
- return date_list
-
-
- print(convertDate('06/11/1930'))
Explanation:
Firstly, create a function convertDate() with one parameter, <em>date_string</em>. (Line 1).
Next, use the Python string <em>split()</em> method to split the date string into a list of date components (month, day & year) and assign it to variable <em>date_list</em>. (Line 3) In this case, we use "/" as the separator.
However, all the separated date components in the <em>date_list</em> are still a string. We can use for-loop to traverse through each of the element within the list and convert each of them to integer using Python<em> int() </em>function. (Line 5 - 6)
At last return the final date_list as the output (Line 8)
We can test our function as in Line 11. We shall see the output is as follow:
[6, 11, 1930]
Answer:
"LinkedIn" is the correct answer for the above question.
Explanation:
- LinkedIn is used to build a connection between people and communicate. But it is used to connect only business type contacts.
- So, when any user wants to make any business type of contacts, then he can do this with the help of making an account on LinkedIn and then add the business people on it.
- The above question asked about the networking site which is used to connect the business contacts. This site is known as LinkedIn.
Answer:
The correct answer to the following question will be "Marketspace".
Explanation:
- A relatively new marketing term which seems to be a simulated market place. It's an area for the electronic exchange of ideas and information in which external boundary restrictions are removed, termed as Marketspace.
- The electronic trading world focused on connectivity often filled by advanced computer and telecommunications technology and digitized deals.
Therefore, Marketspace is the right answer.