• 2024-03-29Python之curd增删改查
    增append增加In[1]:hero=['1','2']In[2]:hero.append('3')In[3]:heroOut[3]:['1','2','3']extend多个增加In[3]:heroOut[3]:['1','2','3']In[4]:hero.
  • 2024-03-28Linux C++ 008-结构体
    LinuxC++008-结构体本节关键字:Linux、C++、结构体相关库函数:基本概念结构体属于用户自定义的数据类型,允许用户存储不同的数据类型。定义和使用语法:struct结构体名{结构体成员列表};通过结构体创建变量的方式有三种struct结构体名变量名struct结构体名变
  • 2023-08-09第四节 列表
    1.创建列表 不同元素之间用英文的逗号符号隔开例1>>>[1,2,3][1,2,3]例2>>>[1,2,3,'sss'][1,2,3,'sss']2.下标索引访问元素>>>word=[1,2,3,'www']>>>word[0]1>>>word[1]2注列表下标最后一个元素索引值可以为-1,倒数第二个可以为-2所以以此
  • 2023-07-24温html
    按钮标签:<!DOCTYPEhtml><htmllang="en"><head>  <metacharset="UTF-8">  <metaname="viewport"content="width=device-width,initial-scale=1.0">  <title>Document</title><