摘要:
def search(path:str,file_extension:str,keyword:str):#path是要给出文件路径,file_extension是要查找的文件扩展名,keyword是要查找的内容。 for root,dirs,files in os.walk(path):#os.wa 阅读全文
摘要:
1、public class Month{ public static void main(String args[]){ for (int i = 1;i <= 12 ;i++ ) { if (i == 3 || i == 4 || i == 5) { System.out.println(i+" 阅读全文
摘要:
class Time{ private int years ; private int month; private int day; public int getYears(){ return years; } public void setYears(int years){ this.years 阅读全文
摘要:
public class ZhengShuHe{ public static void main(String []args){ int sum = 0; for (int i = 1;i <= 1000;i++ ) { if (i % 7 == 0) { continue; } sum = sum 阅读全文
摘要:
import java.util.Scanner; public class Taxi { public static void main(String []agrs){ Scanner s = new Scanner(System.in); int i = s.nextInt(); double 阅读全文
摘要:
#include<stdio.h> void max(int a,int b, int c) { int t; if (a>b) t=a; else t=b; if (t < c) t=c; printf("三个数的最大值为%d:",t); } int main() { int a,b,c; pri 阅读全文