'''格式化字符串的三种方式'''
# https://blog.csdn.net/weixin_69282249/article/details/124940225
# %格式化法
# f格式化法
# format格式化法
当然还有exec eval等
'''格式化字符串的三种方式'''
# https://blog.csdn.net/weixin_69282249/article/details/124940225
# %格式化法
# f格式化法
# format格式化法
当然还有exec eval等
上一篇:列表生成式
下一篇:python 生成器 yield
学习Python基础的笔记,看视频学Python。
1)借助DateFormat类:public String toString(Date d) {SimpleDateFormat sdf = new SimpleDateFormat(
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M