摘要: public class 循环输出实心矩形框 { public static void main(String[] args) { for (int i = 0; i <=5; i++) { for (int j = 0; j <=5 ; j++) { System.out.print("*"); 阅读全文
posted @ 2022-12-05 23:37 溏心123 阅读(160) 评论(0) 推荐(0)
摘要: public class Human { private String name; private String sex; private int age; public String getName() { return name; } public void setName(String nam 阅读全文
posted @ 2022-12-05 23:37 溏心123 阅读(410) 评论(0) 推荐(0)
摘要: public class Student { String name; String add; int age; public String getName() { return name; } public void setName(String name) { this.name = name; 阅读全文
posted @ 2022-12-05 23:36 溏心123 阅读(51) 评论(0) 推荐(0)
摘要: public class Switch { public static void main(String[] args) { System.out.println("请输入你想要购买的商品序号"); System.out.println("1:可乐 2:牛奶 3:苹果"); Scanner s1 = 阅读全文
posted @ 2022-12-05 23:35 溏心123 阅读(20) 评论(0) 推荐(0)
摘要: public class 五级制 { public static void main(String[] args) { System.out.println("请输入你的成绩"); Scanner s1 = new Scanner(System.in); int a = s1.nextInt(); 阅读全文
posted @ 2022-12-05 23:34 溏心123 阅读(175) 评论(0) 推荐(0)
摘要: public class 阶乘 { public static void main(String[] args) { int a = 1; for (int i = 1; i <=5; i++) { a=a*i; } System.out.println(a); }} 阅读全文
posted @ 2022-12-05 23:34 溏心123 阅读(60) 评论(0) 推荐(0)
摘要: import java.util.ArrayList;public class 数组集合输出数据 { public static void main(String[] args) { ArrayList a1 =new ArrayList(); a1.add("张三"); a1.add("李四"); 阅读全文
posted @ 2022-12-05 23:32 溏心123 阅读(227) 评论(0) 推荐(0)
摘要: public class demo05 { public static void main(String[] args) { TicketWindow tw = new TicketWindow(); new Thread(tw,"窗口1").start(); new Thread(tw,"窗口2" 阅读全文
posted @ 2022-12-05 23:32 溏心123 阅读(51) 评论(0) 推荐(0)
摘要: import requestsimport osfrom bs4 import BeautifulSoupimport timeua={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML 阅读全文
posted @ 2022-12-05 13:14 溏心123 阅读(36) 评论(0) 推荐(0)
摘要: from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.keys import Keyse=webdriver.Edge()e.get('https 阅读全文
posted @ 2022-12-05 13:08 溏心123 阅读(46) 评论(0) 推荐(0)
摘要: from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.keys import Keysimport timee=webdriver.Edge()z 阅读全文
posted @ 2022-12-05 12:47 溏心123 阅读(25) 评论(0) 推荐(0)
摘要: div class="head"> <div class="head_area"> <div class="head_nav"> <ul> <li><img src="images/nav_inc1.png" /><a href="index.html">首页</a></li> <li><img s 阅读全文
posted @ 2022-12-05 10:19 溏心123 阅读(26) 评论(0) 推荐(0)