mirror of
https://github.com/ossu/computer-science.git
synced 2024-10-01 01:26:01 -04:00
add problem set 0
This commit is contained in:
parent
3ffc2cd4af
commit
c136a54d87
@ -39,3 +39,7 @@ A straight line program simply goes through and carries out each step. A branchi
|
|||||||
### What is a conditional?
|
### What is a conditional?
|
||||||
|
|
||||||
A conditional statement starts with an if statement, and can also include elif and else.
|
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)
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user