Chinaunix首页 | 论坛 | 博客
  • 博客访问: 839706
  • 博文数量: 339
  • 博客积分: 3151
  • 博客等级: 中校
  • 技术积分: 3425
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-10 14:47
文章分类

全部博文(339)

文章存档

2023年(43)

2022年(44)

2021年(3)

2020年(13)

2019年(39)

2018年(25)

2015年(2)

2014年(18)

2013年(12)

2012年(48)

2011年(79)

2010年(13)

发布时间:2022-12-08 17:29:14

Python 8天从入门到精通训练营 3.6  221208 1404-3.3 增加字典用的是 大括号。不是中括号。 s_list= {"s1":["student1",15,"seat1",158],"s2":["student2",16,"seat2",159]}print(s_list)#新增s_list["s3"] = ["student3",17,"seat3",160]print(s_list)命令:s_list= {"s1":["student1",15,"se.........【阅读全文】

阅读(262) | 评论(0) | 转发(0)

发布时间:2022-12-08 14:02:58

数据类型-字典来啦先在excel表里面姓名, 年龄,座位号,身高,编辑出来,然后ctrl + E ,来生成一组。student115seat1158["student1",15,"seat1",158],student216seat2159.........【阅读全文】

阅读(258) | 评论(0) | 转发(0)

发布时间:2022-09-27 17:18:02

参数的概述实参:    1. 位置参数    2.关键字参数    3.混合参数 - 位置和关键字混合。 位置参数放前面,关键字参数放后面 形参:    1.在函数定义的时候,需要准备一些变量来接收信息。     2. 默认值参数,在函数声明的时候,给变量一个默认值,如.........【阅读全文】

阅读(170) | 评论(0) | 转发(0)

发布时间:2022-07-05 05:51:04

2022-06-28Variables are used to store information to be referenced  and manipulated in a computer program. 存储信息,日后调用It is helpful to think of variables as containers that hold information. 保存信息的容器。 变量的组成:  字母,数字,下划线 (不能数字开头)A_1, .........【阅读全文】

阅读(334) | 评论(0) | 转发(0)

发布时间:2018-11-02 18:00:39

本节目标1. Python 环境搭建2. 开发并运行Python=======================1. Python 环境搭建Python可应用于多平台包括Windows、 Linux/Unix 和 Mac OS。Python下载? Python最新源码,二进制文档,新闻资讯等可以在Python的官网查看到:Python官网:http://www.python.org/? Python文档下载地址:www.python.org.........【阅读全文】

阅读(1188) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册