How to Get a Substring of a String in Python?

How to Get a Substring of a String in Python?