- May 08 Sat 2021 17:18
-
python 封裝繼承多形
- May 08 Sat 2021 16:38
-
python 遞迴 階乘 費氏數列 動態規劃
- May 08 Sat 2021 16:29
-
python Lambda匿名函數Filter.Map.Reduce
- May 08 Sat 2021 16:23
-
Python BLACKJACK

BLACKJACK: Given three integers between 1 and 11, if their sum is less than or equal to 21, return their sum. If their sum exceeds 21 and there's an eleven, reduce the total sum by 10. Finally, if the sum (even after adjustment) exceeds 21, return 'BUST'
- May 08 Sat 2021 16:18
-
Python subsets&交集

Given an array of distinct positive numbers, the task is to calculate the number of subsets (or subsequences) from the array such that each subset contains consecutive numbers
Take two lists and write a program that returns a list that contains only the elements that are common between these two lists (without duplicates). Make sure your program works on two lists of different sizes
- May 07 Fri 2021 23:58
-
python 自訂函數def
- May 07 Fri 2021 21:17
-
python Regular Expression
- May 07 Fri 2021 21:05
-
python string-format
- May 07 Fri 2021 18:55
-
Python palindrome

Ask the user for a string and print out whether this string is a palindrome or not. (A palindrome is a string that reads the same forwards and backwards.)
- May 07 Fri 2021 18:51
-
Python 計算兩個向量的距離
- May 06 Thu 2021 03:45
-
Python 計算字串中字元的字數&大小寫

Given a test string, please switch this string to lower and calculate frequency of each character
- May 06 Thu 2021 03:38
-
Python 判斷質數

input a number greater than 1, detect if this number is prime number or not
if it is prime number, print "this is a prime number"






