python right string code example Example: python left string string = "hello world!" print(string[0:5])