摘要: l=list(range(1,101)) s=sum(l) print(s) l=list(range(1,101)) s=sum(l) print(s) w=[101,25,38,29,108,121] w.sort() s=w[-1]+w[-2] print(s) w=[101,25,38,29 阅读全文
posted @ 2025-08-06 17:18 华腾智算 阅读(5) 评论(0) 推荐(0)
摘要: l1=list(range(2,101,2)) print(l1) l2=['p','y','t','h','o','n'] print(l2[-1]) print(l2[0:3]) print(l2[4]) 从0开始到列表末端,如果从末端则是-1开始。 l1=list(range(2,101,2) 阅读全文
posted @ 2025-08-06 16:01 华腾智算 阅读(5) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <GL/gl.h> #include <vector> #include <cmath> // 物理参数 const float h = 3000.0 阅读全文
posted @ 2025-08-06 15:24 华腾智算 阅读(3) 评论(0) 推荐(0)
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL