<jupyter_start><jupyter_text>Question 1<jupyter_code>listy = [1,5,6,4,1,2,3,5]
sublist = [1,1,5]
print ("Original list :" + str(listy))
print ("Original sublist :" + str(sublist))
flag = 0
if (set(sublist).issubset(set(listy))):
    flag = 1
if (flag):
    print ("it's a Match")
    
else:
    print ("it's Gone")
listy = [1,5,6,5,1,2,3,6]
sublist = [1,1,5]
print ("Original list :" + str(listy))
print ("Original sublist :" + str(sublist))
flag = 0
if (set(sublist).issuperset(set(listy))):
    flag = 1
if (flag):
    print ("it's a Match")
    
else:
    print ("it's Gone")<jupyter_output>Original list :[1, 5, 6, 5, 1, 2, 3, 6]
Original sublist :[1, 1, 5]
it's Gone<jupyter_text>Question 2<jupyter_code>def prime(num):
    if (num==1):
        return False
    elif(num==2):
        return True
    else:
        for i in range (2,num):
            if (num %i == 0):
                return False
            return True
prime(7)
prime(12)
lst = list(range(2500))
print(lst)
lst_prime = []
for item in lst:
    if prime(item):
        lst_prime.append(item)
print(lst_prime)
lst_prime_one = filter(prime,lst)
list(list(lst_prime_one))<jupyter_output><empty_output><jupyter_text>Question 3<jupyter_code>lst = ("hey this is sai", "i am in mumbai")
cap = map (lambda x: str.capitalize(x),lst)
list(cap)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1701649175412294, 'fraction_numerical': 0.03823088455772114, 'mean_word_length': 3.8194945848375452, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '89581', 'license': 'Apache-2.0', 'n_tokens_mistral': 573, 'n_tokens_neox': 547, 'n_words': 128, 'path': 'Day 5 Assignment.ipynb', 'repo_name': 'sowjanya609/sowjanya-python-B7', 'size': '1334'}