1、
name=input('please input your name:\n')
print('hello',name)
please input your name:
yanxi
hello yanxi
2、>>>print('两数之和等于:%s'%(float(input('number1:'))+float(input('number2:'))))
n:5
m:9
两数之和等于:14.0
3、
r=input('半径r=')
areas=3.14*float(r)*float(r)
print('areas:%s'%(areas))
半径r=4
areas:50.24