

print()함수를 사용한다.print("Hello")

https://codeup.kr/problem.php?id=6001

print()함수로 출력한다.print("Hello World")

https://codeup.kr/problem.php?id=6002

print()를 사용해서 출력한다.list + join을 사용하는 방식도있다.print("Hello")
print("World")
word = ["Hello", "World"]
print("\n".join(word))

https://codeup.kr/problem.php?id=6003

"''"이렇게하면 ''를 출력할 수 있다.print("'Hello'")

https://codeup.kr/problem.php?id=6004

'""'이렇게하면 큰 따옴표가 str형으로 인식되어 출력할 수 있다.print('"Hello World"')

https://codeup.kr/problem.php?id=6005

print()로 출력하면 된다.print('"'"!@#$%^&*()'")

https://codeup.kr/problem.php?id=6006

str형으로 인식되서 출력된다.print('"C:\Download\\'"'hello'"'.py"')

https://codeup.kr/problem.php?id=6007

print('print("Hello\\nWorld")')

https://codeup.kr/problem.php?id=6008

input()으로 받아도되지만 sys 모듈의 sys.stdin.readline()으로 받으면 훨씬 속도가 빠르며 시간 제한이 있는 문제일 경우 아래 방식으로 할 경우에 성공하는 문제도 있다.import sys
word = sys.stdin.readline()
print(word)

https://codeup.kr/problem.php?id=6009

int형으로 입력받는다.import sys
num = int(input())
print(num)

https://codeup.kr/problem.php?id=6010