https://www.hackerrank.com/challenges/python-lists/problem
python에는 switch 가 없다,
https://www.hackerrank.com/challenges/python-lists/problem
python에는 switch 가 없다,
한글로 주석을 작성하면 아래 와 같은 에러가 나올 수 있다.
File "/Users/red/pro/pydata /pydata -book-master/ch03/ipython_script_test2. py ", line 3
# 한글
^
SyntaxError: Non-ASCII character '\xed' in file /Users/red/pro/pydata /pydata -book-master/ch03/ipython_script_test2. py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
이럴땐 아래와 같은 2줄을 앞에 적어주면 된다.
# !/usr /bin/python
# -*- coding: utf -8
참조
http://nbviewer.ipython.org/github/re4lfl0w/ipython/blob/master/books/pythondataanalysis/ch03_Introduction%20IPython.ipynb https://www.python.org/dev/peps/pep-0263/
http://pythonlab.org/bbs/zboard.php?id=python
http://coreapython.hosting.paran.com/pygnudoc.html
http://codejob.co.kr/docs/view/80/
http://codejob.co.kr/docs/view/2/
http://ask.python.kr/questions/
http://python.kr/index.php