#!/usr/bin/env python # -*- coding: utf-8 -*- name = input("Name:") age = input("Age:") job = input("Job:") hobbie = input("Hobbie:") info = ''' -----... ...
#!/usr/bin/env python # -*- coding: utf-8 -*- name = input("Name:") age = input("Age:") job = input("Job:") hobbie = input("Hobbie:") info = ''' ------------ info of %s ----------- Name : %s Age : %s job : %s Hobbie: %s ------------- end ----------------- ''' %(name,name,age,job,hobbie) print(info) #print(type(age))