一.变量定义赋值 输入输出屏幕显示 :
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)
时间: 2024-09-30 19:34:57