<jupyter_start><jupyter_text><jupyter_code>text="hello"
print(text)
t=len(text)
print(t)
print(text.upper())
print(text.title())
text02="jason"
text102=text+" "+text02
print(text+" "+text02)
print(text102.title())
text*5
text[0]
text03='jason said "hi ashia!.'
print(text03)
text04="おはようございます"
print(text04)<jupyter_output>jason said "hi ashia!.
おはようございます<jupyter_text>練習2<jupyter_code>L=[4,6,8,9]
print(L)
print(len(L))
L.append(11)
print(L)
L=[13,17,20]+L
print(L)
L.sort()
print(L)
L=[4,6,"two",7,8,9]
L<jupyter_output><empty_output><jupyter_text>練習3<jupyter_code>L=[4,6,8,9,11]
print(L)
print(L[0])
print(L[3])
print(L[-1])
print(L[:3])
print(L[-2:])
L.sort()
print(L[1:])
a=sorted(L,reverse=True)
print(a[1:])
L.insert(0,50)
print(L)
L.sort()
print(L)<jupyter_output>[4, 6, 8, 9, 11, 50]<jupyter_text>練習4<jupyter_code>T=(4,9,10)
print(T)
t=len(T)
print(t)
print(T[0])
T[1]=5
T.append((12))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.23917748917748918, 'fraction_numerical': 0.08116883116883117, 'mean_word_length': 11.67123287671233, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '557566', 'license': 'Apache-2.0', 'n_tokens_mistral': 539, 'n_tokens_neox': 499, 'n_words': 60, 'path': 'Untitled3.ipynb', 'repo_name': 'WUMENGMENG702/basic_algorithms_a', 'size': '924'}