def change(a):
print(str(float(a)*0.001)+'kg')
a=input('请输入数字:')
change(3651)
defname_hide(name):
hiden_name=name.replace(name[1:],'*'*(len(name)-1))
print('请输入名字:',name,'\n',hiden_name)
name_hide('刘宇豪')
def change(a):
print(str(float(a)*0.001)+'kg')
a=input('请输入数字:')
change(3651)
defname_hide(name):
hiden_name=name.replace(name[1:],'*'*(len(name)-1))
print('请输入名字:',name,'\n',hiden_name)
name_hide('刘宇豪')