python - helloworld
发布时间:2020-12-20 10:40:35 所属栏目:Python 来源:网络整理
导读:# -*- coding:utf-8 -*- print ( " helloworld " ) # 打印helloworld # print "helloworld" # python2写法 ? 说明: print()为python内置函数,功能为输出内容 ? # -*- coding:utf-8 -*- : 这段代码用于指定python解析器编码格式为:utf-8,通常用于python
# -*- coding:utf-8 -*-
print("helloworld") # 打印helloworld
# print "helloworld" # python2写法
? 说明: print()为python内置函数,功能为输出内容 ? # -*- coding:utf-8 -*- : 这段代码用于指定python解析器编码格式为:utf-8,通常用于python2解析代码所使用,python3默认使用utf-8编码 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |