The Captain's Room

  • + 1 comment

    k=int(input()) room_list=list(map(int,input().split())) for room in room_list: if room_list.count(room)==1: print(room)

    this code worked only for few test cases.Pls explain why not applied to other cases