assignment1

# Differences

This shows you the differences between two versions of the page.

 assignment1 [2018/09/17 15:40]dokuroot assignment1 [2018/09/17 15:44]dokuroot Both sides previous revision Previous revision 2018/09/17 16:00 dokuroot 2018/09/17 15:44 dokuroot 2018/09/17 15:43 dokuroot 2018/09/17 15:40 dokuroot 2018/09/17 15:39 dokuroot 2018/09/17 15:39 dokuroot 2018/09/17 15:38 dokuroot created Next revision Previous revision 2018/09/17 16:00 dokuroot 2018/09/17 15:44 dokuroot 2018/09/17 15:43 dokuroot 2018/09/17 15:40 dokuroot 2018/09/17 15:39 dokuroot 2018/09/17 15:39 dokuroot 2018/09/17 15:38 dokuroot created Last revision Both sides next revision Line 5: Line 5: **Due date:​** ​ 9/25/18 by 10 am **Due date:​** ​ 9/25/18 by 10 am - **Note:** complete all of the exercises in one ''​.py''​ file (named ''​assignment1_your_last_name.py''​) and comment out all but the one exercise you are testing as you complete the assignment. ​ Paste the contents of the file into the text entry box on Canvas for grading. + **Note:** complete all of the exercises in one ''​.py''​ file (named ''​assignment1_your_last_name.py''​) and comment out all but the one exercise you are testing as you complete the assignment. ​ Paste the contents of the file into the text entry box on Canvas for grading. See [[homework_example | here]] for example. ====Exercise 1==== ====Exercise 1==== Line 12: Line 12: ====Exercise 2==== ====Exercise 2==== - Prompt the user for the height (h) and radius (r) of a beaker and print the volume(v) (v = 3.14*h*r^2).\\ + Prompt the user for the height (h) and radius ​%%(r)%% of a beaker and print the volume (v) (v = 3.14*h*r^2).\\ \\ \\ Line 29: Line 29: What types of values are the following objects:\\ What types of values are the following objects:\\ a) True a) True + \\ b) False b) False + \\ c) 5 c) 5 + \\ d) 5.0 d) 5.0 + \\ e) '​ACG'​ e) '​ACG'​ - f) str(5) \\ \\ + f) str(5)