Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lst = input().split()
- print(f"Team A - {11 - len(list(filter(lambda x:'A' in x,list(set(lst)))))}; Team B - {11 -len(list(filter(lambda x:'B' in x,list(set(lst)))))}"
- if 11 - len(list(filter(lambda x:'A' in x,list(set(lst))))) >= 7 and 11-len(list(filter(lambda x:'B' in x,list(set(lst))))) else
- f"Team A - {11 - len(list(filter(lambda x:'A' in x,list(set(lst)))))}; Team B - {11 -len(list(filter(lambda x:'B' in x,list(set(lst)))))}\nGame was terminated")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement