首页 > 编程语言 > 详细

hausaufgabe--python 15- String Format

时间:2017-06-07 00:17:03      阅读:353      评论:0      收藏:0      [点我收藏+]

000-- to transfer the data into differnt format: binary, decimal, hexadecimal, octal

技术分享

 

Running result:

技术分享

 

By refering :

a -- the difference between os._exit() sys.exit() exit()

http://blog.csdn.net/taohuaxinmu123/article/details/39669495

b-- print differnt format 

http://www.pythonclub.org/python-basic/print

http://bbs.fishc.com/forum.php?mod=viewthread&tid=39140&extra=page%3D1%26filter%3Dtypeid%26typeid%3D403

 

001-- differnt format functions 

技术分享

 

技术分享

 

技术分享

 002-- usage of format function 

技术分享

 

hausaufgabe--python 15- String Format

原文:http://www.cnblogs.com/Shareishappy/p/6954127.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!