摘要:
l = [1,2,"hello","world"] tup = ("jody",32) print(l) [1, 2, 'hello', 'world'] print(tup) ('jody', 32) l = [1,2,3,4] l[3] = 40 print(l) [1, 2, 3, 40] t 阅读全文
posted @ 2023-03-07 21:33
ukyo--碳水化合物
阅读(24)
评论(0)
推荐(0)
摘要:
import time # 根据商品ID求价格,用列表 def find_product_price(products,product_id): for id,price in products: if id == product_id: return price return None produ 阅读全文
posted @ 2023-03-07 21:30
ukyo--碳水化合物
阅读(37)
评论(0)
推荐(0)
摘要:
class Solution { public List<List<Integer>> threeSum(int[] nums) { List<List<Integer>> res = new ArrayList<>(); Arrays.sort(nums); for (int i = 0; i < 阅读全文
posted @ 2023-03-07 13:47
ukyo--碳水化合物
阅读(94)
评论(0)
推荐(0)
摘要:
今天(10月16日)是世界粮食日,这一天也是联合国粮食及农业组织(粮农组织)在1945年成立 的日子,比利时是该组织创始成员之一。粮农组织设立这一天为了提高人们对饥饿问题的认 识并采取行动。因此,在这一天,世界各地将举行许多活动,将政府、企业、公众和媒体聚 集在一起。 Today is World 阅读全文
posted @ 2023-03-07 10:54
ukyo--碳水化合物
阅读(39)
评论(0)
推荐(0)

浙公网安备 33010602011771号