摘要:
>>> test1 = ["aaa","bbb","ccc","ddd"] >>> type(test1) <class 'list'> >>> len(test1) 4 >>> test1[0] ## 查看第一个元素 'aaa' >>> test1[2] 'ccc' >>> test1[-1] # 阅读全文
posted @ 2020-12-18 18:39
小鲨鱼2018
阅读(3315)
评论(0)
推荐(0)
摘要:
>>> test1 = ["aaa","bbb","ccc"] >>> type(test1) <class 'list'> >>> len(test1) 3 >>> test1.append("xxx") ## 追加 >>> test1 ['aaa', 'bbb', 'ccc', 'xxx'] > 阅读全文
posted @ 2020-12-18 18:34
小鲨鱼2018
阅读(6536)
评论(0)
推荐(0)
摘要:
以下实验使用三台虚拟机完成。 服务器端:PC1,192.168.10.10 客户机端:PC2,192.168.10.20 客户机端:PC3,192.168.10.30 1、PC1服务器端安装apache服务 [root@PC1 ~]# yum install httpd -y Loaded plug 阅读全文
posted @ 2020-12-18 00:49
小鲨鱼2018
阅读(896)
评论(0)
推荐(0)

浙公网安备 33010602011771号