Chinaunix首页 | 论坛 | 博客
  • 博客访问: 289895
  • 博文数量: 82
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 874
  • 用 户 组: 普通用户
  • 注册时间: 2015-03-21 09:58
个人简介

traveling in cumputer science!!

文章分类

全部博文(82)

文章存档

2016年(13)

2015年(69)

我的朋友

分类: Python/Ruby

2015-07-14 22:55:12

1. OUTPUT:
    1)standard output . expression or print
        like:>>>2*3+4
                10
                >>>result = 2*3+4
                >>>print result
                10

    2)file ouput. file operate
        like:>>>f = open(path,'w')
                >>>f.write('hello!')
                >>>f.close()
阅读(913) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~