name = "ada lovelace"
# 字符串首字母大写
# print(name.title())

# 字符串全部小写
# print(name.lower())

# 字符串全部大写
# print(name.upper())

first_name = "kiven"
last_name = "su"
full_name = first_name + " " + last_name
# 合并拼接字符串
# print(full_name.title())

message = "Hello, " + full_name.title() + "!"
# print(message)

# 字符串添加制表符
# print("python")
# print("\tpython")

#字符串添加换行符
# print("Languages:\nPython\nPHP\nC#\nJava")

# 剔除字符串末尾的空白
favorite_language = " Python "
print(favorite_language)
print(favorite_language.rstrip())

# 剔除字符串开头的空白
print(favorite_language.lstrip())

# 剔除字符串俩头的空白
print(favorite_language.strip())
