GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — hackerrank-python/sets/set-intersection.py at master · anishLearnsToCode/hackerrank-python Expand file tree/ Copy pathset-intersection.pyMore file actions 10 lines (7 loc) · 323 Bytes / Copy pathset-intersection.pyFile metadata and controls10 lines (7 loc) · 323 Bytes 1 2 3 4 5 6 7 8 9 10 # https://www.hackerrank.com/challenges/py-set-intersection-operation/problem int(input()) english_subscriptions = set(map(int, input().split())) int(input()) french_subscriptions = set(map(int, input().split())) all_subscriptions = english_subscriptions.intersection(french_subscriptions) print(len(all_subscriptions)) |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |