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.
scores = map(int, input().split())
scores.sort()
print(scores[0:2]);
Comments
Leave a comment