Answer:
#HERE IS CODE IN PYTHON
#function to find length of shortest and longest string in the array
def fun(list2):
#find length of shortest string
mn=len(min(list2))
#find length of longest string
mx=len(max(list2))
#return both the value
return mn,mx
#array of strings
list2 = ['Ford', 'Volvo', 'BMW', 'MARUTI','TATA']
# call the function
mn,mx=fun(list2)
#print the result
print("shortest length is:",mn)
print("longest length is:",mx)
Explanation:
Create an array of strings.Call the function fun() with array as parameter. Here min() function will find the minimum string among all the strings of array and then len() function will find its length and assign to "mn". Similarly max() will find the largest string and then len() will find its length and assign to "mx". Function fun() will return "mn" & "mx".Then print the length of shortest and longest string.
Output:
shortest length is: 3
longest length is: 5
Answer:
legal and ethical questions
brick and mortar guidelines
website content
customer information
the facts of life
payment processing
human resources
this is in career explorations 2 please help will mark the brainiest
Explanation: yes he is right this is correct
Answer:
Explanation:
The code for the given problem is written below
.data
A : .word 1 2 3 4 5 6 7 8 9 10
.text
la $s5,A
li $s1,0 # load g
li $s2,10 # load h
li $s3,0 # load i
li $s4,1 # load j
loop:
mul $s6,$s3,4
add $s6,$s6,$s5 #address of A[i]
lw $s6,($s6) #get value of A[i] in s3
add $s1,$s1,$s6 #g = g+A[i]
add $s3,$s3,$s4 # i = i+j
bne $s3,$s2,loop #if i!=h jump to loop
Answer: @ is sometimes used as a logical symbol to denote the actual world (the world we are "at").
Explanation: