#!/usr/bin/python
str=input('please input your name:')
print(str)
print(str[0:-1])
print(str[0])
print(str[2:5])
print(str[2:])
print(str*2)
print(str+'你好')

print('----------')

print('hello\nrunoob')
print(r'hello\nrunoob')
