- 博客(6)
- 收藏
- 关注
原创 大话数据结构Python版实现(一)
Python 大话数据结构(一)大话数据结构P25页算法实现:Environment:CentOS7 Python 2.7 The sum of 1 + 2 + 3 ··· ··· + 100:#!/usr/bin/env python2#encoding:utf-8i = 0sum = 0for i in range(101): #Notice this place,it is
2017-06-05 21:51:32
1775
原创 Java实现猜数字游戏 数字区间1-10
/*需求: 实现猜数字游戏, 如果没有猜对可以继续输入你猜的数字,如果猜对了停止程序。最多只能猜三次,如果还剩下最后一次机会的时候要提醒用户。*/import java.util.*;class Demo8 {public static void main(String[] args) {//创建一个随机数对象Random random = new Random();//调用随机数对象的nextI
2017-04-20 14:49:03
5888
原创 Python 基础(1)
1、判断输入的年份是否为闰年:Python代码如下下面是Python 2 的代码:while True: num = int(raw_input('please input a number:')) if (num%4==0 and num%100!=0) or num%400==0: print 'yes' break print
2017-02-14 00:17:30
397
原创 CentOS7 PXE安装批量安装操作系统
1、Environment CentOS7 Server VersionCentOS7 node7, IP Address 192.168.121.172、步骤如下:(1)安装需要的软件包[root@node7 ~]# yum -y install tftp-server httpd dhcp syslinux(2)配置DHCP:[root@node7 ~]#
2017-02-12 21:12:38
3253
原创 Persistent Things
1、30minutes English Listening, such as CNN、BBC、Ted. 2、30-minutes exercises,such as running,playing basketball and so on.
2017-02-01 01:02:12
336
原创 Recommended Music
Today, I played with my sister's frineds, suddenly I heard a beautiful music which called faded. Yeah, faded which comes from Alan Walker is splendid music,I recommended that to you.
2017-02-01 00:54:59
229
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人