From 651fa962c476d46c859d4b3af42bd40d5c06bb72 Mon Sep 17 00:00:00 2001 From: MPCHOWDARY Date: Wed, 26 Jun 2024 10:58:54 +0530 Subject: [PATCH 1/2] Add files via upload --- M.PhanindraChowdary.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 M.PhanindraChowdary.txt 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 . From 3e65a7e45e8dfb8b2a0243358d1df9b01ad6cbca Mon Sep 17 00:00:00 2001 From: MPCHOWDARY Date: Wed, 26 Jun 2024 11:00:44 +0530 Subject: [PATCH 2/2] Add files via upload --- insertion.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 insertion.py 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)