
name = "Hello Eric,would you like to learn some Python today?"
print(name)

print("------------------分割线------------------")

name = "dudengjin"
print(name.lower())
print(name.upper())
print(name.title())

print("------------------分割线-------------------")


name = "库法耶夫说:"
celebrated_dictum = "书不仅是生活,而且是现在,过去和未来文化生活的源泉."
said = name + celebrated_dictum
print(said)

print("-----------------分割线------------------")


famous_person = "库法耶夫说"
message =("%s:书不仅是生活,而且是现在,过去和未来文化生活的源泉."%famous_person)
print(message)


print("----------------分割线------------------")




string = '\tdudengjin \n\tfenxinming \n\t du'
print("使用制表符和换行符后是:")
print(string)

stringA = ' du'
print("没使用删除空格之前:")
print(stringA)

stringA = stringA.rstrip()
stringA = stringA.lstrip()
print("使用删除空格后是:")
print(stringA)



