Coder Social home page Coder Social logo

python's Introduction

Python

Python 语言学习过程中的练习

一、资料:https://learnpythonthehardway.org/book/

0、练习0——安装环境 (省略)

1、练习1(ex1.py)—— Hello world 

2、练习2(ex2.py)—— 注释的写法

3、练习3(ex3.py)—— 数字和算术运算

4、练习4(ex4.py)—— 变量名

5、练习5(ex5.py)—— 变量打印

6、练习6(ex6.py)—— 字符串

7、练习7(ex7.py)—— 打印

8、练习8(ex8.py)—— 继续打印

9、练习9(ex9.py)—— 还是打印

10、练习10(ex10.py)—— 转义字符

11、练习11(ex11.py)—— 输入

12、练习12(ex12.py)—— 输入提示信息

13、练习13(ex13.py)—— 命令行参数

14、练习14(ex14.py)—— 命令提示符

15、练习15(ex15.py)—— 读取文件内容

16、练习16(ex16.py)—— 写文件

17、练习17(ex17.py)—— 文件间拷贝

18、练习18(ex18.py)—— 函数

19、练习19(ex19.py)—— 函数入口参数形式

20、练习20(ex20.py)—— 函数和文件

21、练习21(ex21.py)—— 函数返回

22、练习24(ex24.py)—— 练习

23、练习25(ex25.py)—— 函数练习

24、练习29(ex29.py)—— if语句

25、练习30(ex30.py)—— else if语句

26、练习31(ex31.py)—— 条件语句应用

27、练习32(ex32.py)—— for循环

28、练习33(ex33.py)—— while循环

29、练习34(ex34.py)—— list

30、练习35(ex35.py)—— 综合练习

31、练习38(ex38.py)—— list操作

32、练习39(ex39.py)—— 词典

33、练习40(ex40.py)——  Modules, Classes, and Objects

34、练习41(ex41.py)—— 面向对象代码分析

35、练习42(ex42.py)—— Is-A, Has-A, Objects, and Classes

python's People

Contributors

shawn-chung avatar shawnwoxx avatar

Watchers

 avatar  avatar

Forkers

wsgan001

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.