Answer:
12, 2.375, 0.25, 17
Explanation:
A. 2^3 + 2^2 = 12
B. 2^1 + 2^-2 + 2^-3 = 2.375
C. 2^-2 = 0.25
D. 2^4 + 2^0 = 17
I think it's 900 but I can't be sure.
Answer:
Don't worry !! Everything will be fine
Explanation:
Taking the input as a string, slicing it with a space as the delimiter, turning the divided portion into an integer, and then appending to the list.
<h3>
Explanation:</h3>
def selection_sort_descend_trace(numbers):
i=len(numbers)
print("Output: ")
for num in range(0,i-1):# traversing from 0 to N-2, total N-1 iterations
val=numbers[num]
start=num+1
end=i
t=0
for j in range(start,end):
if(val<numbers[j]):
remember=j
val=numbers[j]
t=1
if(t==1):# swaping onlf if greater number is available
temp=numbers[num]
numbers[num]=val
numbers[remember]=temp
for p in range(i):# printing
print(numbers[p],end=' ')
print("\n")
if __name__ == "__main__":
print("Enter the integers separated by space: ")
numbers=[int(x) for x in input().split(' ')]
selection_sort_descend_trace(numbers)
For further details about the explanation, click here:
brainly.com/question/15728245
#SPJ1
Answer:use spell check
proofread messages
use appropriate punctuation
be brief
use correct grammar
Explanation: