From c136a54d878f864cd539fdec6a43e97fe91a2836 Mon Sep 17 00:00:00 2001 From: Eric Douglas Date: Wed, 14 May 2014 21:22:31 -0300 Subject: [PATCH] add problem set 0 --- .../UNIT-01/02-core-elements-of-a-program/README.md | 4 ++++ .../archives/UNIT-01/02-core-elements-of-a-program/ps0.py | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/ps0.py diff --git a/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/README.md b/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/README.md index df11239..810db7b 100644 --- a/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/README.md +++ b/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/README.md @@ -39,3 +39,7 @@ A straight line program simply goes through and carries out each step. A branchi ### What is a conditional? A conditional statement starts with an if statement, and can also include elif and else. + +## Problem Sets + +* [Problem Set 0](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/unit-1/lecture-2-core-elements-of-a-program/MIT6_00SCS11_ps0.pdf) diff --git a/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/ps0.py b/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/ps0.py new file mode 100644 index 0000000..09b2a9f --- /dev/null +++ b/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/02-core-elements-of-a-program/ps0.py @@ -0,0 +1,8 @@ +# Problem Set 0 +# Name: Eric Douglas +# Time Spent: 3:10 + +birthday = raw_input('When is your birthday?\n') +lastName = raw_input('What is yout last name?\n') + +print lastName + ' ' + birthday