You are viewing a single comment's thread. Return to all comments →
tourist_rooms = list(map(int,input().split())) captain_room =None if group_size in range(1,1000): unique_rooms = list(set(tourist_rooms)) for room in unique_rooms: tourist_rooms.pop(tourist_rooms.index(room)) if room not in tourist_rooms: captain_room = room else: pass print(captain_room)
Seems like cookies are disabled on this browser, please enable them to open this website
The Captain's Room
You are viewing a single comment's thread. Return to all comments →