본문 바로가기
Python

as

by SpeeDr00t 2016. 7. 21.
반응형

as

1.소스

from math import sqrt as sqrt1

print sqrt1( 9.0 )
             

결과

hacker@ubuntu:~/python$ python as1.py 
3.0        
반응형

'Python' 카테고리의 다른 글

디폴트 인자  (0) 2016.07.21
재귀함수  (0) 2016.07.21
import ( from )  (0) 2016.07.21
dir  (0) 2016.07.21
random  (0) 2016.07.21