print함수

    파이썬 기초 자료형 (1) - print 함수 사용법

    print() 함수 - 출력하기 print('hello') print('''hello''') print("""python""") 1.Separator 사용 #separator 옵션 #sep연산자로 구분되어 출력 print('P','Y','T','H','O','N',sep='|') print('010','7777','1234',sep='-') print('python','goole.com',sep='@') 2. End 사용 #end 옵션 #끝부분 처리, 줄바꿈x, 공백시 붙여나옴 print('welcome to',end='') print('IT News', end='') print('Web Site') 3. file 사용 #file 옵션 import sys #file에 쓴다 print('Learn Pyth..