#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목print함수2021-04-18 11:07
작성자

print 함수 에서 sep=''을 사용하고 싶은데

제가 sep를 사용해서 출력하고 싶은 값이 1 !! 2 3 4 이면 어떻게 해야하나요?

print(1,2,sep='!!',3,4) 이렇게 하면 오류라고 뜨는데 sep는 꼭 마지막에 사용해야 하는 건가요?? 

댓글