Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions M.PhanindraChowdary.txt
Original file line number Diff line number Diff line change
@@ -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 .
6 changes: 6 additions & 0 deletions insertion.py
Original file line number Diff line number Diff line change
@@ -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)