Question #278454

Write an algorithm to get ‘n’ number of ratings. Calculate the comparison scores. Print the final scores with Alice's score first and Bob's second like [1,1]. Draw a flowchart and write pseudo code for the same.

Expert's answer

scores = map(int, input().split())
scores.sort()
print(scores[0:2]);

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS