name
=input("Name:")
age
=input("Age:")
hometown
=input("Hometown:")
info
="""
--------------info of
%s
----------
Name
: %s
Age
: %s
Hometown
: %s
"""
%(name
,name
,age
,hometown
)
print(info
)
运行结果
转载请注明原文地址:https://tech.qufami.com/read-14996.html