This sounds like a multiple choice answer can I have 4 choices to pick?
Answer:
Glomar Challenger studies about the "age of rocks in various places in the ocean" in 1968
Explanation:
Glomar Challenger was a "deep sea research vessel" for marine geology and oceanography studies.
The vessel set out in 1968 on a "Deep Sea Drilling Program" in the Atlantic Ocean.
Samples were collected from various drilling locations and the study and analysis of these samples enabled the study of plate tectonics.
These samples also provided more information related to the rocks in oceans.
The vessel drilled cores containing rock salt, gypsum, anhydrite and several other evaporating minerals.
Answer:
The function in Python is as follows:
def rotateRight(strng, d):
lent = len(strng)
retString = strng[lent - d : ] + strng[0 : lent - d]
return retString
Explanation:
This defines the function
def rotateRight(strng, d):
This calculates the length of the string
lent = len(strng)
This calculates the return string
retString = strng[lent - d : ] + strng[0 : lent - d]
This returns the return string
return retString
Addition:
The return string is calculated as thus:
This string is split from the <em>index passed to the function to the last element of the string, i.e. from dth to last.</em>
<em>The split string is then concatenated to the beginning of the remaining string</em>