# coding = utf-8
# print('let\'s go \\go')
#
# name = 'tom'
# age = 20
# print('我叫%s，今年%d'%(name,age))


# s = 'abcdefghigklmnopqrstuvwxyz'
# print(s[0:-1:2])
# print(s[::-2])
# print(s[-1:5:-2])

# print(len(s[0:len(s):2]))



#
# s = 'abcdefghigklmnopqrstuvwxyz'
# print(s.split('c',4))
#

# 返回值为查找的字符串的下标


s = 'abc'
print(s.ljust(10,','))
print(s.rjust(10,','))










