0

How to delete the first character of string in python?

11th Apr 2020, 8:00 AM
Ramya Thiurmalisamy
Ramya Thiurmalisamy - avatar
2 odpowiedzi
+ 2
You can use slicing, example string="This is a string" print(string[1:])
11th Apr 2020, 8:05 AM
Taranjeet
Taranjeet - avatar
+ 1
You can learn more about it in the Python chapters.
11th Apr 2020, 8:05 AM
Taranjeet
Taranjeet - avatar