<jupyter_start><jupyter_text>입력과 출력<jupyter_code># 입력
value=input("insert strig: ")
print(type(value),value)
# 숫자 입력
value=input("insert strig: ")
value=int(value)
print(type(value),value)
value=int(input("insert strig: "))
print(type(value),value)
# 출력
print(value)
print("fast","campus",sep="-")
print("fast",end=" ")
print("campus")
print("fast",end="\t")
print("campus")
print("fast",end="\n")
print("campus")
# string format
a,b=1234,"fast"
a,b
# data1:1234 data2:fast
result="data1:"+str(a)+" data2:"+b
print(result)
result="data1:{} data2:{}".format(a,b)
print(result)<jupyter_output>data1:1234 data2:fast<jupyter_text>quiz 1- 두개의 정수 값을 입력받아서 두 정수 값을 더해서 결과로 출력```insert number1 : insert numver2 :number1: , number2: number1+number2=```<jupyter_code>num1=int(input("insert number1 : "))
num2 = int(input("insert number2 : "))
print("number1:{}, number2:{}, number1+number2={}".format(num1,num2,num1+num2))<jupyter_output>insert number1 : 10
insert number2 : 7
number1:10, number2:7, number1+number2=17
{'fraction_non_alphanumeric': 0.20634920634920634, 'fraction_numerical': 0.05257936507936508, 'mean_word_length': 9.967391304347826, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '78679', 'license': 'MIT', 'n_tokens_mistral': 457, 'n_tokens_neox': 460, 'n_words': 69, 'path': 'python/07_intput_print.ipynb', 'repo_name': 'Seoheesu1/TIL', 'size': '1008'}