python 第一步
来源:互联网 发布:javascript中关键字 编辑:程序博客网 时间:2024/06/05 18:10
>>> print "hello ,world!"
SyntaxError: invalid syntax
>>> print "hello"
SyntaxError: invalid syntax
>>> printf ("hello")
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
printf ("hello")
NameError: name 'printf' is not defined
>>> printf 'hello'
SyntaxError: invalid syntax
>>> printf ('hello')
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
printf ('hello')
NameError: name 'printf' is not defined
>>> printf("hello")
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
printf("hello")
NameError: name 'printf' is not defined
>>> printf 5
SyntaxError: invalid syntax
>>> print ("hello")
hello
>>> print (5)
5
SyntaxError: invalid syntax
>>> print "hello"
SyntaxError: invalid syntax
>>> printf ("hello")
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
printf ("hello")
NameError: name 'printf' is not defined
>>> printf 'hello'
SyntaxError: invalid syntax
>>> printf ('hello')
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
printf ('hello')
NameError: name 'printf' is not defined
>>> printf("hello")
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
printf("hello")
NameError: name 'printf' is not defined
>>> printf 5
SyntaxError: invalid syntax
>>> print ("hello")
hello
>>> print (5)
5
>>>
版本与教程不一致
0 0
- Python第一步
- python 第一步
- Python第一步
- Python 第一步
- python第一步:安装ipython
- Python 爬虫第一步
- python 爬虫第一步
- python爬虫第一步
- python的第一步
- python采集第一步
- python第一步,安装
- 学习python第一步
- 学习python第一步
- python爬虫-第一步,获取页面
- 用python取代netcat第一步
- python入门第一步,python怎样入门
- 第一步
- 第一步
- poi修改excel
- 转战github
- Ubuntu中启用关闭Network-manager网络设置问题!
- .a .so的相互包含
- android硬编码h264-MediaCodec
- python 第一步
- C++ dlopen mini HOWTO
- Spring 配置
- b/s和c/s
- sql分别用日期、月、年 分组 group by 分组,datepart函数
- 付盛访谈
- JSF + Primefaces表单验证
- windows I/O完成端口
- 开启新的篇章