码迷,mamicode.com
首页 > 编程语言 > 详细

【Python】输出12个星座

时间:2019-12-29 12:47:21      阅读:465      评论:0      收藏:0      [点我收藏+]

标签:info   com   range   输出   print   http   image   python   style   

原理:利用Unicode编码

for i in range(12):
    print(chr(9800+i),end="")

技术图片

【Python】输出12个星座

标签:info   com   range   输出   print   http   image   python   style   

原文地址:https://www.cnblogs.com/HGNET/p/12114451.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!