MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming: Lesson 1, HW 1
#
# Author : Andrea
# Filename : ps0.py
# Purpose : Lesson 1 MIT OCW, usage of raw_input and string manipulation
#
#
print '###### ps0.py ######'
print '\n'
print 'A simple example to demonstrate i/o'
last_name = raw_input('\tPlease enter your last name: ')
first_name = raw_input('\tPlease enter your first name: ')
print '\n\tYour last name is:\t', last_name
print '\tYour first name is:\t', first_name
print '\tThank you!'
andrea
1 year ago