Placement season
n = int(input('number of student: ')) student = list(map(int, input().split())) if __name__ == '__main__': print(0, end=' ') for i in range(1, n): t = 0 for j in range(1, i): if student[j] >= student[i]: t += 1 print(t, end=' ')
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments