Python 3.2 를 이용한 간단한 수학식 계산하기
Python 2.x 에서는 print 가 def, for, return 들 처럼 하나의 키워드(예약어)이지만, Python 3.x 에서는 print 가 하나의 함수이므로 반드시 소괄호를 붙여서 print( ..... ) 처럼 써야 한다. * 파이썬 버전 확인: -------------------------- $ python3.2 Python 3.2.1 (v3.2.1:ac1f7e5c0510, Jul 9 2011, 01:03:53) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. Cannot read termcap database; u..