# # 字符串的操作标签:python,age,value,学习,date,第二天,字符串,print,bool From: https://www.cnblogs.com/luyi666/p/16846518.html
# # tyep 查看对象的类型
# name = "wode"
# print(type(name))
#
# # 常用的类型: str int float bool
# # 布尔型:bool
# # Ture 1
# # flse 0
# print()
# 字符串转义
# 字符串格式化 3种
# age = 18
# print("你的年龄:")
# # 例子
# value = 100.234567
# age = 18
# date = "我有{:.2f}元,我{}岁。".format(value, age)
# print(date)
# %
# value = 100.234567
# age = 18
# date = "我有%.2f元,我%s岁。" % (value, age)
# print(date)
# f ""
# value = 100.234567
# age = 18
# date = f"我有{value:.2f}元,我{age}岁。"
# print(date)
# + 字符串拼接
date = '好的'
date2 = '我的'
print(date+date2)
# 字符串强转
# int() 转换为int类型 整形
# float() 转换成float类型 浮点型
# bool() 转换成bool类型 布尔型
# str() 转换成str类型 字符串型