iT邦幫忙

python3相關文章
共有 1020 則文章
鐵人賽 Modern Web DAY 24

技術 Day 24:Strawberry Django 權限

Django 內建一套權限系統,主要提供 Django 應用程式的模型新增、修改、刪除、瀏覽權限管理,除此之外還有系統管理員、管理員與認證檢查,當然 Djang...

鐵人賽 自我挑戰組 DAY 30

技術 [Day30] Codewars >>> 1's, 0's and wildcards (Python)

題目(5kyu): You are given a string containing 0's, 1's and one or more '?', where...

鐵人賽 自我挑戰組 DAY 13

技術 Day 13: Python程式的秘密

使用enumerate,不要用range(len(x)) city_list = ["Taipei","beijing&quo...

鐵人賽 自我挑戰組 DAY 21

技術 [Day21] Codewars >>> Luck check (Python)

題目(5kyu): In some countries of former Soviet Union there was a belief about luc...

技術 leetcode with python:495. Teemo Attacking

題目: Our hero Teemo is attacking an enemy Ashe with poison attacks! When Teemo a...

技術 leetcode with python:415. Add Strings

題目: Given two non-negative integers, num1 and num2 represented as string, retur...

技術 用 Python 暢玩 Line bot - 30:Line Notify(三)

在上篇中,我們是需要到 Line Notify 登入後的個人介面發行 token,但總不能叫每一個加入 line bot 的好友都自己去註冊 Line Noti...

鐵人賽 Modern Web DAY 13

技術 Day 13:建立 Django 環境

在前面的章節中,我們花了許多時間探討 GraphQL 及 Strawberry,這主要是希望讓大家對於 GraphQL 擁有基礎的理解,並對 Strawberr...

鐵人賽 Modern Web DAY 20

技術 [Day20] OAuth2 實例:實作總結

[Day20] OAuth2 實例:實作總結 本次的程式碼與目錄結構可以參考 FastAPI Tutorial : Day20 branch 回顧 我們在...

鐵人賽 AI & Data DAY 1

技術 [Day01] 從 0 開始

本系列文章是針對 Udemy 上的熱門機器學習課程 - Machine Learning A-Z in Chinese 所做的學習筆記因為報名課程許久都未能上完...

技術 leetcode with python:303. Range Sum Query - Immutable

題目: Given an integer array nums, handle multiple queries of the following type:...

技術 [8/1] 2678. Number of Senior Citizens

EasyRelated Topics: Array / StringLeetCode Source 解題想法 在 details 的陣列中,總長 15,計算...

技術 Day17 參加職訓(機器學習與資料分析工程師培訓班),Python程式設計

練習使用selenium來登入FB from selenium import webdriver driver = webdriver.Chrome() dr...

技術 leetcode with python:257. Binary Tree Paths

題目: Given the root of a binary tree, return all root-to-leaf paths in any order...

鐵人賽 自我挑戰組 DAY 11

技術 Day11: Python中常見術語

陳述句: 除了表示式之外其他指令,像是If陳述句、for陳述句。 表示式: 由運算子和值組成,像是age>20。 變數: 物件的名稱,像是name =...

技術 MotionNet SourceCode 解讀[#3]-gen_data篇(part III)

adj_seq_cnt += 1 print("adj_seq",adj_seq_cnt) if adj_seq_cnt == num_ad...

鐵人賽 Software Development DAY 13
玩轉 Python 與 MongoDB 系列 第 13

技術 玩轉 Python 與 MongoDB_Day13_正規表達式

今天我們要來介紹一下正規表達式該怎麼與 MongoDB 來做查詢,同時也會針對正規表達式做一些簡單的介紹以及範例 一、正規表達式介紹 正則表達式(Regular...

鐵人賽 自我挑戰組 DAY 11

技術 Day11 leetcode隨機挑題 (List,Sort,Greedy,Simulation)

首先是 2418. Sort the People (easy)https://leetcode.com/problems/sort-the-people/ 他...

鐵人賽 Python DAY 14

技術 Day 14 - 串列的排隊人生

本文同步刊載於 「為你自己學 Python - 串列的排隊人生」 串列的排隊人生 有些程式語言,例如 C 語言,對於陣列(Array)的設計,不僅只能放同...

技術 leetcode with python:232. Implement Queue using Stacks

題目: Implement a first in first out (FIFO) queue using only two stacks. The impl...

技術 [LeetCode] 274. H-Index

MediumRelated Topics: Array / Sorting / Counting SortLeetCode Source 解題想法 這題我卡...

鐵人賽 Software Development DAY 5

技術 Python內建的提升效能機制(一)

我們來建立幾個重複的整數:10 和 257,比對一下他們的ID看看: var_1 = 10 var_2 = 10 id(var_1), id(var_2) (...

鐵人賽 Software Development DAY 24
FastAPI 開發 系列 第 24

技術 超級使用者 - 實作

老獅:盤點一下要做什麼吧 小獅:API 用來建立使用者 1. 超級使用者可建立一般使用者 2. 超級使用者可建立超級使用者 3. 一般使用者不能建立帳號密碼...

鐵人賽 Python DAY 8

技術 Day 8 - 整數的前世今生

本文同步刊載於 「為你自己學 Python - 整數的前世今生」 整數的前世今生 在 Python 的世界裡,整數是最基本也最常用的資料型態之一。你有想過...

鐵人賽 自我挑戰組 DAY 4

技術 [Day4] Codewars >>>The search for Primes! Twin Primes!(Python)

題目(6kyu): A twin prime is a prime number that is either 2 less or 2 more than a...

技術 leetcode with python:231. Power of Two

題目: Given an integer n, return true if it is a power of two. Otherwise, return...

鐵人賽 生成式 AI DAY 6

技術 Day 06 - LangChain 與 SQL

每天的專案會同步到 GitLab 上,可以前往 GitLab 查看。有興趣的朋友歡迎留言 or 來信討論,我的信箱是 nickchen1998@gmail.co...

鐵人賽 Software Development DAY 26
玩轉 Python 與 MongoDB 系列 第 26

技術 玩轉 Python 與 MongoDB_Day26_文本索引 Text Index

今天我們要來介紹文本索引 Text Index 一、簡介 Text Index(文本索引)是 MongoDB 中的一種特殊索引,用於支援全文搜索和文字查詢。它允...

鐵人賽 生成式 AI DAY 15

技術 Day 15 - Chunking Strategy - 使用 LLM 重構段落

每天的專案會同步到 GitLab 上,可以前往 GitLab查看,有興趣的朋友歡迎留言 or 來信討論,我的信箱是 nickchen1998@gmail.com...