
python
Jonathan_LF
无冥冥之志者,无昭昭之明;无惛惛之事者,无赫赫之功
展开
-
笨小白学python记 day_1(作监督自己学习之用)
Alex作业之day 1 的homework2the requies of homework2 1:import username、password; 2:show welcome message after successful landing 3:exit after three times of wrong transmission代码: #day 1 homework 2 name='原创 2017-11-17 21:22:55 · 276 阅读 · 0 评论 -
Alex作业之day 1 的猜年龄游戏 课堂演示
The requires of the classroom presentation The procession of mine about the game of guessing the age: Picture: the version of wrong: #for 循环 的改进 :每猜 3 次加一个判断:用户决定继续还是退出(有错的程序 **重置为0的i值是无法传输给循环中的原创 2017-11-17 21:51:10 · 437 阅读 · 0 评论 -
Tang机器学习课程笔记之五(Numpy库<一>)
1:reading the data the function of genfromtxt: a:we read the data from the paper file b:in order to need not to specify the path,we put the data and code in the same paper filethe common form of thi原创 2017-11-19 15:44:40 · 301 阅读 · 0 评论 -
Tang机器学习课程笔记之六(Numpy库)
the difference of list and numpy :list : it can store any format value at the same time, such as int, str numpy:the inside of the numpy.array must be the same formatthe difference of list and tuple :原创 2017-11-21 20:53:47 · 242 阅读 · 0 评论 -
Python的入门与进阶的学习笔记之Python基本数据类型
Number: int和float: 除法:int/int 得到 int型 int//int 得到 float型 (注:整除//表示只保留整数部分) 乘法:*进制转换: 二进制:0b 八进制:0o 十六进制:0x 转换: bin(10) 十进制转换为二进制 int(0b111) 二进制转换为十进制 oct(0b111)原创 2017-11-29 21:53:23 · 666 阅读 · 0 评论