06 2021 档案

摘要:package 路径包括目录复制; import java.util.*; import java.io.*; public class Main { public static void copy(File []f,File file) { if(!file.exists()) {//判断是否存在 阅读全文
posted @ 2021-06-10 09:09 正在奋击的红猪 阅读(158) 评论(0) 推荐(0)
摘要:import random #导入random随机 r = 2 fang=0 yuan=0 i = int(input("请输入扔飞镖的次数: ")) for j in range(1,i+1): x = random.uniform(-r,r) #生成随机的x y = random.uniform 阅读全文
posted @ 2021-06-04 15:01 正在奋击的红猪 阅读(817) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-04 14:16 正在奋击的红猪 阅读(55) 评论(0) 推荐(0)