python入门简单小程序

tech2024-01-25  80

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)

运行结果

最新回复(0)