• 2024-02-13matplotlim柱状图
    importnumpyasnpimportmatplotlibmatplotlib.use("TKAgg")importmatplotlib.pyplotaspltd=np.arange(0,10,0.1)datas=np.array([24,10,13,36])subjects=['香蕉','苹果','辣椒','其他']plt.rcParams['font.fa
  • 2023-11-19无涯教程-RSpec - Subjects主题
    RSpecsubjets提供了编写简写测试用例的快捷方式。考虑以下代码-classPersonattr_reader:first_name,:last_namedefinitialize(first_name,last_name)@first_name=first_name@last_name=last_nameendenddescribePersondo
  • 2023-10-08SQL的各种连接
    1createtablestudents(c_idint,c_namevarchar(20));2createtablesubjects(c_idint,c_subjectvarchar(20));34insertintostudentsvalues(1,'张三'),(2,'李四'),(3,'王五');--orcle不支持这种批量插入的写法5insertintosubjectsvalu