89

python起步-大宝天天见-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13587169/2069946
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1.程序输出print'helloworld'输出2.程序输入raw_input("字符串")输入字符串,任何数据都是字符串int(raw_input("字符串"))字符串转数字脚本:#!/usr/bin/python#coding:utf-8user=raw_input("请输入用户名:")print"Welc

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK