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
assignment1 [2018/09/17 15:43]
dokuroot
assignment1 [2018/09/17 16:00]
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. See [[script2 ​| here]] for example.+**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==== 
-Prompt the user for two DNA sequences (two separate prompts), concatenate them, and print the concatenated sequence to the terminal with an informative message (e.g. ''​Concatenated sequence: ACTGCA''​).+Prompt the user for two DNA sequences (two separate prompts), concatenate them, and print the concatenated sequence to the terminal with an informative message (e.g. ''​Concatenated sequence: ACTGCA''​). ​\\
 \\ \\
  
Line 23: Line 23:
 ''​ACTGAAA''​\\ ''​ACTGAAA''​\\
 ''​%%|||||||%%''​\\ ''​%%|||||||%%''​\\
-''​TGACTTT''​+''​TGACTTT''​\\
 \\ \\
  
 ====Exercise 5==== ====Exercise 5====
-What types of values are the following ​objects:\\ +Using python, identify the type of each of the following ​values:\\ 
-a) True +  True 
-\\ +  False 
-b) False +  
-\\ +  5.0 
-c) +  '​5'​ 
-\\ +  '​ACG'​
-d) 5.0 +
-\\ +
-e) '​ACG'​ +
-\\ +
-f) str(5)+
assignment1.txt · Last modified: 2018/09/17 16:00 by dokuroot