geeksforgeeks
  • Courses
  • Tutorials
  • Practice
  • Jobs
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
Videos
June 30, 2022 |4.1K Views

Program for removing i-th character from a string

Python, Python, Python-program, python-string
 Save  Share   Like
Description
Discussion

Given the string, we have to remove the ith indexed character from the string.

In any string, indexing always start from 0. Suppose we have a string geeks then its indexing will be as –

g e e k s
0 1 2 3 4
Examples :

Input : Geek
       i = 1
Output : Gek

 

Program for removing i-th character from a string : https://www.geeksforgeeks.org/python-program-for-removing-i-th-character-from-a-string/

Recommendations
Video Thumbnail
14:50
Video Thumbnail
1.8K Views | 09/05/2026...
Grid Plot in Python using Seaborn
Video Thumbnail
27:52
Video Thumbnail
8.4K Views | 09/05/2026...
Arguments and Keyword Arguments (args & kwargs)
Video Thumbnail
07:59
Video Thumbnail
4.3K Views | 09/05/2026...
What Can You Do With Python? | Applications of Python
Video Thumbnail
01:18
Video Thumbnail
9.2K Views | 06/05/2026...
File Handling in Python.
Video Thumbnail
07:03
Video Thumbnail
6.1K Views | 03/01/2026...
Remove Duplicates from a List in Python
Video Thumbnail
05:52
Video Thumbnail
2.4K Views | 02/01/2026...
Iterate over a list in Python.
Video Thumbnail
10:34
Video Thumbnail
3.5K Views | 30/12/2025...
Command Line Arguments in Python.
Video Thumbnail
08:03
Video Thumbnail
12.5K Views | 04/12/2025...
Python Collections Counter
Video Thumbnail
05:52
Video Thumbnail
131.4K Views | 12/09/2025...
Enumerate() in Python
Video Thumbnail
12:01
Video Thumbnail
70.2K Views | 15/02/2025...
Automated Trading using Python
GeeksforGeeks
location
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
location
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play StoreGFG App on App Store
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • Careers
  • Contact Us
  • Corporate Solution
  • Campus Training Program
  • Explore
  • POTD
  • Practice Problems
  • Connect
  • Blogs
  • Upskill Courses
  • Tutorials
  • Programming Languages
  • DSA
  • Web Technology
  • AI, ML & Data Science
  • DevOps
  • CS Core Subjects
  • GATE
  • School Subjects
  • Software and Tools
  • Courses
  • ML and Data Science
  • DSA and Placements
  • Web Development
  • Data Science
  • Programming Languages
  • DevOps & Cloud
  • GATE
  • MongoDB Certifications
  • Preparation Corner
  • Interview Corner
  • Aptitude
  • Puzzles
  • GfG 160
  • System Design
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved