第一次写博客供自己学习参考,经典hello world为开篇
文章目录
菜鸡一枚,博客给自己学习和参考。之前手写了很多笔记,发现效率非常低,遗忘速度相当快。痛定思痛,决定跟上现代化步伐,整点小文章供自己学习和整理。
开篇之作以hello world为例吧!
print('hello world!')
print("%s"%'hello world')
print('{} {}'.format('hello','world'))
print('{1} {0}'.format('hello','world'))}'.format('hello','world'))

格式化输出hello world

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论