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)

 

转载于:https://www.cnblogs.com/whzym111/p/5763541.html

你可能感兴趣的:(python)