Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编码规范换行 #27

Closed
brivencn opened this issue Oct 31, 2019 · 3 comments
Closed

编码规范换行 #27

brivencn opened this issue Oct 31, 2019 · 3 comments

Comments

@brivencn
Copy link

print 'Hello, '
'%s %s!' %
('Harry', 'Potter')
我是新手才学 这里是不是忘记给print方法加括号了,我加了括号没问题,不加报错呢

@walter201230
Copy link
Owner

print 'Hello, '
'%s %s!' %
('Harry', 'Potter')
我是新手才学 这里是不是忘记给print方法加括号了,我加了括号没问题,不加报错呢

是的,python3 要加括号

@walter201230
Copy link
Owner

print 'Hello, '
'%s %s!' %
('Harry', 'Potter')
我是新手才学 这里是不是忘记给print方法加括号了,我加了括号没问题,不加报错呢

感谢您,我修改一下

@brivencn
Copy link
Author

感谢您才对,我才开始学今天第二天,我做PHP的,昨天看了一天官方文档,今天如获至宝呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants