//int ( ) function 사용해서 string변수 정수로 변환하기 age = "18" print(age) print(type(age)) n_age= int(age) print(n_age) print(type(n_age)) 18 18 //function정의하기 def say_hello(): print("hello") print("bye") say_hello() hello bye 파이썬에서는 indentation(들여쓰기)로 function의 시작과 끝을 판단(중괄호를 쓰지 않음) 들여쓰기로 function의 안(body)이라는 것을 표시 할 수 있다 function의 이름 뒤에 ( )를 추가하면 function을 실행 하는 것(say_hello를 출력) function의 body는 들여쓰기로 구분..