how to remove the first 10 characters form a string python code example
Example 1: how to remove first few characters from string in python
a_string = "abcde"
sliced = a_string[2:]
Remove first 2 characters
print(sliced)
Example 2: remove first character of string python
r = "hello"
r = r[1:]
print(r) # ello