###### tags: `note` `Python` # <div id =animation_title>Python筆記</div> 這是我平日練習和閱讀Python所寫下來的東西,用途類似於備忘錄,方便自己能夠於日後忘記時回來查閱,所以會盡可能寫得讓我自己看的懂,如果你的電波和我相同,也歡迎你來閱讀XD,課本主要是看這本: **<a href="https://github.com/jackfrued/Python-100-Days" class="redlink">Python-100-Days</a>** 如果我看見自己覺得有用的資料也都會將連結紀錄在本頁最下方。 另外有時候會將課本以外的連結寫在文章內的標題上,對原文有興趣的話可以點進去看看~ <br> ## <a href="https://hackmd.io/6yUmiZLeS6CD-KCNSIqZAQ?view" id="animation_title">變數、型態及運算符 </a> + 變數與型態 (Variables) + 基本型態 + 命名變數 + 使用變數 + 運算符 + 賦值運算符 + 比較運算符和邏輯運算符 + 練習 ## <a href = "https://hackmd.io/dlhAR3qJR3O3uj1VswRjSw" id="animation_title">字串與Format</a> + 字串 String + Format + 傳統的Format + F-string + 練習 ## <a href = "https://hackmd.io/ZmzbWK4mSzCuHJ70sewg2g?both" id = "animation_title">If Else 判斷句 與 函式庫簡介</a> + If 語法 + 函式庫簡介 + 巢狀if + 練習 ## <a href = "https://hackmd.io/NsBcryJhTHWQaJkxpwTsZw" id = "animation_title">While 與 For 迴圈</a> + For 迴圈 + While 迴圈 + 巢狀迴圈 + 練習 ## <a href="https://hackmd.io/o3msthwTRyaNomFE2sHQHg?view" id = "animation_title">List、Tuple 與 二維 List</a> + List + List 與 For迴圈 的應用 + Tuple + 二維 List + 練習 ## <a href="https://hackmd.io/7wb2i5TQRY2-rEHFTS6SoQ" id = "animation_title">函式 def</a> + def 語法 + 可變參數 + 同名問題 + 區域函式 + 練習 ## <a href="https://hackmd.io/E2JR_rYoRyKUCySEIueOoA" id = "animation_title">Class</a> + 前言 + 語法 + 訪問許可權限 (public、private 與 protect) + 練習 ## <a href="https://hackmd.io/jd4FHh9YSTmImf9Sj9EoqA" id = "animation_title">時間複雜度 與 排序法簡介</a> + 前言 + 時間複雜度 O + 常見的時間複雜度與排序法 + O(1) + O(n) + O(logn) —— 二分搜尋法 + O(n²) —— 選擇排序法(Selection Sort) + O(n logn) —— 快速排序法(Quick Sort) + O(2$^n$) —— 費氏數列遞迴 <style> .green { color:#29E5A9; } .brown { color:#990000; } .pink { color:#DD9FBD; } .red { color:#E71B18 ; } .blue { color:#0b5394; } .purple { color:#AC9FDD; } @-webkit-keyframes A { 0% { color:#C10066;} 10% { color: #CC0000;} 20% { color: #E63F00; } 30% { color:#EE7700; } 40% { color: #DDAA00; } 50% { color:#EEEE00;} 60% { color: #99DD00;} 70% { color:#66DD00;} 80% { color: #00DDDD;} 90% { color: #0044BB;} 100% { color: #A500CC;} } #animation_title{ animation: A 3s ease 0s infinite alternate; -webkit-animation: A 3s ease 0s infinite alternate; } </style> <style> a.redlink { color:#DB1859; } a.redlink:link { color:#DB1859; text-decoration:none; } a.redlink:visiteid { color:#DB1859; text-decoration:none; } a.redlink:hover { color:#19CABC; text-decoration:none; } a.redlink:active { color:#000000; text-decoration:underline; background:#FFFFFF; } </style> <style type="text/css"> h1 { font-size:; color:#0b5394; } h2 { font-size:; color:#0b5394; } p { font-size:; color:; } h3 { font-size: ; color:#990000; } h4 { font-size:; color:#990000; } </style>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up