摘要: package Ttone; public class oone { public int add(int a, int b) { return a*b; } public int addo(int c, int d) { return c+d; } public int addt(int e, i 阅读全文
posted @ 2021-04-11 22:11 刀锋2021 阅读(45) 评论(0) 推荐(0) 编辑
摘要: package work; public class calculation { calculation() {}; boolean is_operator(char ch) { if (ch == '+' || ch == '-' || ch == '*' || ch == '/') return 阅读全文
posted @ 2021-04-11 20:49 刀锋2021 阅读(51) 评论(0) 推荐(0) 编辑
摘要: from tkinter import * root=Tk() root.title("计算器") root.geometry('350x547') #显示计算结果 slabel=StringVar() show=Entry(root,textvariable=slabel,bg="white",j 阅读全文
posted @ 2021-04-11 19:58 刀锋2021 阅读(65) 评论(0) 推荐(0) 编辑
摘要: package 软件工程; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPane 阅读全文
posted @ 2021-04-11 19:46 刀锋2021 阅读(67) 评论(0) 推荐(0) 编辑
摘要: package beihang; import java.io.*; import java.util.*; public class getStation { static class Line { int id; String name; List stations = new ArrayLis 阅读全文
posted @ 2021-04-11 19:41 刀锋2021 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-11 19:34 刀锋2021 阅读(33) 评论(0) 推荐(0) 编辑
摘要: from fractions import Fraction def newint(): opr = ['+', '-', '×', '÷'] fh = random.randint(0, 3) n1 = random.randint(1, 20) n2 = random.randint(1, 20 阅读全文
posted @ 2021-04-11 19:30 刀锋2021 阅读(56) 评论(0) 推荐(0) 编辑