<jupyter_start><jupyter_text>Question 1 :Assuming that we have some email addresses in the "<EMAIL>" format, pleasewrite a program to print the company name of a given email address. Both user names and companynames are composed of letters only.<jupyter_code>s=input()
id=s.index('@')
for i in range(id+1,len(s)):
    if s[i]=='.':
        break
    print(s[i],end="")<jupyter_output><EMAIL>
yahoo<jupyter_text>Question 2:Write a program that accepts a comma-separated sequence of words as input and prints the words in acomma-separated sequence after sorting them alphabetically.<jupyter_code>a=input()
a=a.split(",")
a=sorted(a)
print(",".join(a))<jupyter_output>program,money,on,learn
learn,money,on,program<jupyter_text>Question 4:Given a list of n-1 numbers ranging from 1 to n, your task is to find the missing number. There are noduplicates.<jupyter_code>def miss(l):
    return[x for x in range(l[0],l[-1]+1) if x not in l]
l=[1,2,4,6,5,8]
print(miss(l))<jupyter_output>[3, 7]<jupyter_text>Question 5:With a given list L, write a program to print this list L after removing all duplicate values with original orderreserved.<jupyter_code>l=[1,4,8,9,2,8,4,1]
l2=["r","a","j","a","i","r"]
l=list(dict.fromkeys(l))
l2=list(dict.fromkeys(l2))
print("After removing the duplicate the output is", l2)
print("After removing the duplicate the output is",l)<jupyter_output>After removing the duplicate the output is ['r', 'a', 'j', 'i']
After removing the duplicate the output is [1, 4, 8, 9, 2]
{'fraction_non_alphanumeric': 0.13931681178834562, 'fraction_numerical': 0.02344273275284662, 'mean_word_length': 6.252427184466019, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '69249', 'license': 'Apache-2.0', 'n_tokens_mistral': 544, 'n_tokens_neox': 521, 'n_words': 170, 'path': 'AssignmentDay06.ipynb', 'repo_name': 'Raji-prog/LetsUpgradeAI-ML', 'size': '1517'}