Answer:
couple.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
s1=[1,2,3]
s2=[4,5,6]
print(couple(s1,s2))
enum.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
def enumerate(s,start=0):
number_Array=[ i for i in range(start,start+len(s))]
return couple(number_Array,s)
s=[6,1,'a']
print(enumerate(s))
print(enumerate('five',5))
Explanation:
The code below is used to determine a recursive, bool-valued function, isPalindrome, that accepts an integer-valued array, and the number of elements and returns whether the array is a palindrome.
Explanation:
- The code shows 'array palindrome' is an array which, when its elements are reversed, remains the same.
bool isPalindrome(arr[((n-1) - n) +1], n)
{
if (n == 0 || n == 1)
{
return true;
}
else if (arr[n-1] == isPalindrome(arr[], n-1)
{
return true;
}
else {
return false;
}
}
Answer:
Line of sight and rules of composition
Explanation:
He needs the rules of composition in order to use the line of sight
Answer:
operating systems
Explanation:
The operating systems is shortly known as OS. It is a system software which manages the software resources of the computer, computer hardware and also provides some common services for the various computer programs.
Most of the operating systems available in the market provides some common utility programs such as the search program, a backup program and a storage management program also.
Some common operating systems are : Linux, Microsoft Windows, Ubuntu, macOS, Unix, and many more.