<jupyter_start><jupyter_text>LIST AND ITS DEFAULT FUNCTIONS<jupyter_code>lst=[1,2,3,[32,4,3],23.34,"deep"]

lst
lst.append("pandya")

lst
lst.pop(2)

lst
lst.insert(1, "name")

lst

lst.remove(23.34)

lst
lst.reverse()

lst
lst1 = [22,716252,"letsupgrade"]

lst.extend(lst1)

lst
x = lst.index("deep")

print(x)
x = lst.count("pandya")

print(x)<jupyter_output>1<jupyter_text>DICTIONARIES AND ITS DEFAULT FUNCTIONS<jupyter_code>dit={"name":"deep", "surname":"pandya","course":"letsupgrade","number":"1225143"}

dit 
x = dit.get("surname")

print(x)

dit.pop("number")

dit
dit.popitem()

print(dit)
x = dit.copy()

print(x)
dit.update({"course": "letsupgrade"})

print(dit)

x = dit.values()

print(x)
dit.clear()

print(dit)<jupyter_output>{}<jupyter_text>TUPLES AND ITS DEFAULT FUNCTIONS<jupyter_code>tup = ("deep", "pandya", "letsupgrade","letsupgrade")
print(tup)
x = tup.count("letsupgrade")

print(x)

x = tup.index("letsupgrade")

print(x)<jupyter_output>2<jupyter_text>SETS AND ITS DEFAULT FUNCTIONS<jupyter_code>st = {"deep", "pandya", "letsupgrade",1,1,2,3,3,3,4,4,5}

print(st)
st.add("boy")

print(st)

x = st.copy()

print(x)
st1={1,33,57,77,7,7,"python","course","deep"}

x = st.difference(st1)

print(x)
st.discard("letsupgrade")

print(st)
z= st.intersection(st1)

print(z)

z = st.issubset(st1)

print(z)
st.pop()

print(st)
st.remove("boy")

print(st)
z = st.issuperset(st1)

print(z)
st.clear()

print(st)<jupyter_output>set()<jupyter_text>STRING AND ITS  DEFAULT FUNCTIONS<jupyter_code>str="deeppandya"

str
x = str.capitalize()

print (x)
x = str.casefold()

print(x)
x = str.center(20)

print(x)
x = str.count("deep")

print(x)
x = str.encode()

print(x)

x = str.endswith("a")

print(x)
x = str.isalnum()

print(x)

x = str.isalpha()

print(x)
x = str.isdecimal()

print(x)
x= str.isdigit()

print(x)
x = str.upper()

print(x)<jupyter_output>DEEPPANDYA
{'fraction_non_alphanumeric': 0.20053333333333334, 'fraction_numerical': 0.03253333333333333, 'mean_word_length': 6.328125, 'pattern_counts': {'":': 5, '<': 16, '<?xml version=': 0, '>': 16, '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': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '563991', 'license': 'Apache-2.0', 'n_tokens_mistral': 922, 'n_tokens_neox': 871, 'n_words': 138, 'path': 'Day2Assignment_B7.ipynb', 'repo_name': 'pandyadeep248/Deep-letsupgrade-Python-B7-Assignments', 'size': '1875'}