Skip to content

Commit ee9c14b

Browse files
committed
add inactive and 中文 problem
1 parent b8de9ea commit ee9c14b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@
88
* [dive into python](http://www.diveintopython.net/toc/index.html)
99
* [learn python the hardway](http://learnpythonthehardway.org/book/)
1010
* [python官网教程](https://docs.python.org/2/tutorial/)
11-
* [crossin的编程教室](http://crossin.me/forum.php?mod=forumdisplay&fid=2)
12-

hello-world.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
print 'i\'m so cool~'
1+
#!/usr/bin/python
2+
#coding:utf-8
3+
#上面两行是解决文件中 中文的问题
4+
print 'python is so cool~';
5+
print 'why do you think python is cool?';
6+
answer = raw_input();
7+
print 'your answer is ';
8+
print answer;
9+
print ' is so cool~'

0 commit comments

Comments
 (0)