User Tools

Site Tools


assignment1

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
assignment1 [2018/09/17 15:40]
dokuroot
assignment1 [2018/09/17 15:44]
dokuroot
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)
assignment1.txt ยท Last modified: 2018/09/17 16:00 by dokuroot