diff --git a/M.PhanindraChowdary.txt b/M.PhanindraChowdary.txt new file mode 100644 index 0000000..f6d1995 --- /dev/null +++ b/M.PhanindraChowdary.txt @@ -0,0 +1,2 @@ +Hi sir this is phanindrachowdary from CSBS. +Thanks for coming to our college and teaching such an importing think which can help us a lot . diff --git a/insertion.py b/insertion.py new file mode 100644 index 0000000..4ef5649 --- /dev/null +++ b/insertion.py @@ -0,0 +1,6 @@ +tuple=(1,2,3) +value_to_insert=10 +pos=2 +new_tuple=tuple[:pos]+(value_to_insert,)+tuple[pos:] +print("tuple before insertion is:",tuple) +print("new tuple after insertion is:",new_tuple)