<jupyter_start><jupyter_text>list<jupyter_code>lst=[1,2.5,"Keerthi",[5,4,99]]

lst
lst.append("Ramanukolanu")

lst
lst1= lst.copy()
lst1
lst.count("Keerthi")
lst.append(2.5)
lst.count(2.5)
lst.extend(lst1)
lst
lst.index(1)
#gives the index of the given value
lst1.clear()
lst1
lst.insert(2,5)
# insert the given value in the mentioned index
#it takes exactly two arguments(index,value)
lst
lst.pop(5)
lst.remove(5)
lst
lst.reverse()
lst<jupyter_output><empty_output><jupyter_text>Dictionary and its default Functions<jupyter_code>dit={"key":"Value","Name":"keerthi","Age":"21"}
dit
dit.get("key")
dit.items()
dit.keys()
dit.values()
dit.pop("Name")
dit
dit.popitem()
dit
dit.setdefault(0)
dit
dit.update()
dit
dit2=dit.copy()
dit2
dit.fromkeys("0")
dit2.clear()
dit2<jupyter_output><empty_output><jupyter_text>sets and its default functions<jupyter_code>st={1,2,3,4,5,99,20,20,6,99,"Keerthi","Deepthi"}
#set is used to store unique values
#set is a class
st
st1=st.copy()
st1
st2={"Ramanukolanu",8}
st2.issubset(st)
st.add("Ramanukolanu")
st
st2.difference(st)
st2.difference(st1)
st.difference(st2)
st.difference_update(st2)
st
st.intersection(st1)
st2.intersection(st)
st.discard("Deepthi")
st<jupyter_output><empty_output><jupyter_text>Tuple and its default Methods<jupyter_code>tup=("Keerthi","Deepthi","Prameela","Suresh")
tup
tup.count("Keerthi")
tup.index("Prameela")<jupyter_output><empty_output><jupyter_text>Strings and Default Methods<jupyter_code>Name="Keerthi"
type(Name)
SurName="Ramanukolanu"
FullName= Name+" "+SurName
FullName
type(FullName)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1668765743073048, 'fraction_numerical': 0.034634760705289674, 'mean_word_length': 9.38562091503268, 'pattern_counts': {'":': 3, '<': 21, '<?xml version=': 0, '>': 21, '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': '276371', 'license': 'Apache-2.0', 'n_tokens_mistral': 698, 'n_tokens_neox': 672, 'n_words': 112, 'path': 'Day 2 Assignmaent 1.ipynb', 'repo_name': 'RamanukolanuNagaSaiKeerthi/LetsUpgradePythonEssentials', 'size': '1588'}