root@lookback-Legion:~/python001# python py01.py
Plz input your Name: lookback
Plz input your Age: 22
Plz input your Sex: man
Plz input your Job: ops
Information of company staff:
Name: lookback
Age : 22
Sex : man
Job : ops
root@lookback-Legion:~/python001# cat py01.py
#!/usr/bin/env python
#-*- encoding: utf-8 -*-
#########################################################################
# File Name: py01.py
# Author: LookBack
# Email: admin#dwhd.org
# Version:
# Created Time: 2015年07月13日 星期一 06时27分30秒
#########################################################################
name = raw_input("Plz input your Name: ")
age = raw_input("Plz input your Age: ")
sex = raw_input("Plz input your Sex: ")
job = raw_input("Plz input your Job: ")
print 'Information of company staff:\
\n Name: %s\
\n Age : %s\
\n Sex : %s\
\n Job : %s' % (name, age, sex, job)
root@lookback-Legion:~/python001#
#!/usr/bin/env python
#-*- encoding: utf-8 -*-
#########################################################################
# File Name: py01.py
# Author: LookBack
# Email: admin#dwhd.org
# Version:
# Created Time: 2015年07月13日 星期一 06时27分30秒
#########################################################################
name = raw_input("Plz input your Name: ")
age = raw_input("Plz input your Age: ")
sex = raw_input("Plz input your Sex: ")
job = raw_input("Plz input your Job: ")
print 'Information of company staff:\
\n Name: %s\
\n Age : %s\
\n Sex : %s\
\n Job : %s' % (name, age, sex, job)