截圖 2021-05-08 下午5.19.43.jpg
Encapsulation
Inheritance

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-08 下午4.40.27.jpg
遞迴有限制3000次 要超過要修改設定 如下
階乘

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-08 下午4.28.50.jpg

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-08 下午4.23.43.jpg
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'

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-08 下午4.19.42.jpg
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

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-07 下午11.56.55.jpg

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-07 下午7.06.22.jpg

re.match 從第一個字元比對pattern

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-07 下午9.04.14.jpg
靠右,靠左,置中,浮點數f,2f,字串s,十進位d,10預留10空位
十進位 d, 二進位 b,0b 八進位 o,0o 十六進位 x,0x

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-07 下午6.54.32.jpg
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.)

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-07 下午6.54.06.jpg
Given two vector, calculate distance between them

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-06 上午3.43.53.jpg
Given a test string, please switch this string to lower and calculate frequency of each character

Terror-P 發表在 痞客邦 留言(0) 人氣()

截圖 2021-05-06 上午3.43.22.jpg
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"

Terror-P 發表在 痞客邦 留言(0) 人氣()

« 1 2 3 4
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。