#! /usr/bin/env python
# -*- coding: utf-8 -*-
string = "I am Learning Python"
print(string[0], string[14])

print(len(string))

print(string[3:7])
print(string[5:])
print(string[:4])
print(string[:])

print(string[-1])
print(string[-2])
print(string[-3:])
print(string[:-3])