[原]My first Python
2020-03-11 12:11
316 查看
我的第一个Python程序:
print 'hello world'
raw_input ("print any key to continue...")
[/code]
在python3.4下应写为
print ("hello world! This is my first python!")
input("Press enter key to close this window...")
[/code]
此时的print函数已经成为python内置函数。
作者:svitter 发表于2014-5-2 23:11:33 原文链接 阅读:20 评论:0 查看评论
转载于:https://my.oschina.net/u/1017188/blog/333932
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- My first Python Program -- Command line Address Book
- my first python
- My first python program -- get english and chinese from .ass file
- My first Python
- Python__高阶函数
- 常见的25个python面试问答,让你顺利拿到offer!
- Python设计模式
- leetcode_[python/C++] 329. Longest Increasing Path in a Matrix(DFS+记忆化搜索)
- python iterator总结
- python打印服务器所有进程
- 【python】a small python game ——Battleship
- Python安装模块出错(ImportError: No module named setuptools)解决方法
- 基于MySQL数据库的C#与Python语言交互调用
- paip. 解决php 以及 python 连接access无效的参数量。参数不足,期待是 1”的错误
- python小白必备
- 简易Python语句获取本机ip地址
- Python模块学习之Timer定时任务,函数自调实现定时获取博客园博客浏览量
- python 实现 Peceptron Learning Algorithm ( 一) 几个函数的记录
- python-6.模块
- pip install python-open cv之后报错