Guessing - local area network (LAN)
<span>C. allocate resources</span>
Answer:
The program in Python is as follows:
str1 = " SOFTware".lower()
str2 = "hardware ".upper()
str3 = str1+str2
lent = len(str3)
print(lent)
Explanation:
(1) Convert " SOFTware" to lower
str1 = " SOFTware".lower()
(2) Convert "hardware " to upper
str2 = "hardware ".upper()
(3) Combine both strings
str3 = str1+str2
(4) Calculate the length of the new string
lent = len(str3)
(5) Print the calculated length
print(lent)
Answer:
Line 4 = 28 40
Line 5 = 28 40
Line 6 = 28 40
Line 8 = 28 40
Line 11 = None
Line 12 = 17 16
Line 13 = 18 16
Line 14 = 19 16
Line 15 = 9
Explanation:
Main line number || Matrix object line number (in order)
2 9, 9
3 9
4 28 40
5 28 40
6 28 40
7 None
8 28 40
9 20
10 20
11 None
12 17 16
13 18 16
14 19 16
15 9