Python
养鼠的猫
博客:https://www.cnblogs.com/AlinaL/
展开
-
Python FIFO算法模拟
#!/usr/bin/python array = (7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1)memory = []pointer = 0 # if the memory is empty def is_empty(_list_): if len(_list_) == 0:原创 2017-12-13 15:12:43 · 1599 阅读 · 0 评论 -
Python 初次接触 (1)
1、安装好python写第一条语句:print 'hello world'' ' 和 " " 一样的,都可以输出2、pip install numpy原创 2017-06-11 11:34:25 · 203 阅读 · 0 评论