python的输入输出

今天是学习Python的第一天,主要学习了python的输入,输出以及基本配置,记录如下代码

 

 

# -*- coding: utf-8 -*-
print ('Please input your name :\n')
name = input()
print ('Please input your money:\n')
money= input()
print ("你好: %s ,你现在有 $ %s" % (name ,money ))

 

posted @ 2016-01-13 15:56  風行  阅读(175)  评论(0编辑  收藏  举报