79,355 views
40 votes
40 votes
How to change beginning point of a string in python

User Dennis Kempin
by
2.8k points

1 Answer

18 votes
18 votes

Answer: When you say beginning point I am going to guess that that mean first letter. SO if that was the case then you could to this.

text = "some text"

print(text[0])

Output:

s

User Teeyo
by
2.4k points