python基础学习1-变量定义赋值,屏幕输入输出

一.变量定义赋值  输入输出屏幕显示 :

 name = input("input is your name")

age =int( input("input is your age"))

add =input("input your add")

money = float(input("input your money"))

mess=''' Infomessage Of User %s

---------------------

Name :%s

Age  :%d

Add  :%s

Money:%f

----------end---------- ''' %(name,name,age,add,money)

print(mess)

 

posted @ 2016-08-12 08:24  whzym111  阅读(543)  评论(0编辑  收藏  举报